Nico Schottelius
d034fe9369
[__pyvenv] use python3 -m venv on alpine
...
Until python4 comes, this will work
5 years ago
Nico Schottelius
0f639a9278
Make __cron nonparallel
...
It fails due to removal / edit of crontab at the same time
VERBOSE: [18331]: uncloud.ungleich.ch: Running object __cron/pg_dump_cleanup
VERBOSE: [18332]: uncloud.ungleich.ch: Running object __ungleich_packages/server
VERBOSE: [18335]: uncloud.ungleich.ch: Running object __postgres_role/app
INFO: [18335]: uncloud.ungleich.ch: Processing __postgres_role/app
INFO: [18331]: uncloud.ungleich.ch: Processing __cron/pg_dump_cleanup
ERROR: [16451]: uncloud.ungleich.ch: ssh -o User=root -o ControlPath=/tmp/tmp_8eu4oep/s -o ControlMaster=auto -o ControlPersist=2h uncloud.ungleich.ch /bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk; export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote': ['ssh', '-o', 'User=root', '-o', 'ControlPath=/tmp/tmp_8eu4oep/s', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=2h', 'uncloud.ungleich.ch', "/bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk; export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote'"]
Error processing object '__cron/pg_dumpall_under_day'
=====================================================
name: __cron/pg_dumpall_under_day
path: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk
source: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/conf/type/__ungleich_postgresql/manifest
type: /home/nico/vcs/cdist/cdist/conf/type/__cron
code-remote:stderr
------------------
crontab: can't move 'postgres.new' to 'postgres': No such file or directory
VERBOSE: [16451]: config: Total processing time for 1 host(s): 13.98031210899353
[18:09] line:~%
5 years ago
Darko Poljak
da30afe791
++changelog
5 years ago
Darko Poljak
1eb02f908b
Merge branch 'fix/__package_update_index' into 'master'
...
[__package_update_index] Fix maxage false-positives on brand-new installations
See merge request ungleich-public/cdist!858
5 years ago
Darko Poljak
b25939cdd6
Fix shellcheck
5 years ago
Darko Poljak
df63cfe088
++changelog
5 years ago
Darko Poljak
11148995d1
Merge branch 'master' into 'master'
...
fix typo
See merge request ungleich-public/cdist!857
5 years ago
Nico Schottelius
ec11f04ab8
++changes
5 years ago
Nico Schottelius
66d9905029
[__consul_agent] make conf_dir depent on the OS
5 years ago
Andrew Schleifer
f00e4af5f0
fix typo
5 years ago
Matthias Stecher
358e04b2af
Handle specially if no time about the last index update found.
...
The explorer 'currage' now returns -1 if he can not find any value about
this. The gencode-remote script handle this value special to not exit if
-1 given as value.
This fixes the bug
https://code.ungleich.ch/ungleich-public/cdist/issues/803
5 years ago
Darko Poljak
f7d5f5bc97
++changelog
5 years ago
Darko Poljak
4481052184
Merge branch 'alpinefix' into 'master'
...
Fix for alpine "getent shadow" missing functionality in __user type
See merge request ungleich-public/cdist!855
5 years ago
llnu
fb32d6ed3f
alpine uses a different getent lib which doesnt support: getent shadow
5 years ago
Darko Poljak
213f1b049c
Release 6.5.2
5 years ago
Darko Poljak
da6ccf808e
++changelog
5 years ago
Darko Poljak
4b24d886eb
Merge branch 'file/better-errors' into 'master'
...
[__file] Better errors analogous to __directory
See merge request ungleich-public/cdist!854
5 years ago
Dennis Camera
9eacba06bb
[__file] Treat pre-exists as a special case in gencode-remote as it should never get there
5 years ago
Dennis Camera
46d2487f08
[__file] Give more precise error message when --state pre-exists
5 years ago
Darko Poljak
046f7d0663
++changelog
5 years ago
Darko Poljak
dd6b07d924
Merge branch 'directory-exists' into 'master'
...
[__directory] Add --state exists and --state pre-exists
See merge request ungleich-public/cdist!832
5 years ago
Dennis Camera
6b4b6534a1
[__directory] Give more precise error message when --state pre-exists
5 years ago
Darko Poljak
b2db864eaf
++changelog
5 years ago
Darko Poljak
aa49afd61a
Merge branch 'fix/explorer/disks' into 'master'
...
explorer/disks: Fix on NetBSD and support Linux w/o lsblk
See merge request ungleich-public/cdist!852
5 years ago
Dennis Camera
6db6dc4ac0
[explorer/disks] Add license header
5 years ago
Dennis Camera
1ef126e16f
[explorer/disks] Move xargs call to the bottom
5 years ago
Dennis Camera
d3bd2669ec
[explorer/disks] Support Linux without lsblk (fallback to sysfs)
5 years ago
Darko Poljak
0c49a0afda
Merge branch 'consul-alpine' into 'master'
...
Add support for alpine (edge) package to __consul_agent
See merge request ungleich-public/cdist!851
5 years ago
Timothée Floure
e6f683b886
Add support for alpine (edge) package to __consul_agent
5 years ago
Dennis Camera
c6aba8d189
[explorer/disks] Fix for NetBSD
...
When connecting over SSH and running /bin/sh, the PATH is missing sbin locations.
sysctl is located at /sbin/sysctl on NetBSD.
5 years ago
Darko Poljak
49fc21ec47
++changelog
5 years ago
Darko Poljak
47ec9ada10
Merge branch 'consul_agent' into 'master'
...
Refactor __consul_* for use with distribution packages
See merge request ungleich-public/cdist!837
5 years ago
Darko Poljak
e1b80f7222
Merge branch 'service' into 'master'
...
Add simple __service type
See merge request ungleich-public/cdist!847
5 years ago
Darko Poljak
2a5309b413
Merge branch 'fix/init-explorer/busybox' into 'master'
...
[explorer/init] Support more init systems
See merge request ungleich-public/cdist!850
5 years ago
Dennis Camera
0d6bc8e8f8
[explorer/init] Make shellcheck happy
5 years ago
Dennis Camera
0d84c91b40
[explorer/init] Fix unique() for Solaris
5 years ago
Dennis Camera
364340c8d5
[explorer/init] Refactor and testing
5 years ago
Dennis Camera
d895bb0e87
[explorer/init] Clean up
5 years ago
Dennis Camera
21c9e3db18
[explorer/init] Support more init systems
5 years ago
Nico Schottelius
ceddbd15a0
++changes
5 years ago
Nico Schottelius
2135381038
Merge branch 'master' into 'master'
...
[cdist]Update os_version for alpine
See merge request ungleich-public/cdist!849
5 years ago
Jin-Guk Kwon
28d3760e29
[cdist]Update os_version for alpine
5 years ago
Darko Poljak
1b0caeda13
++changelog
5 years ago
Darko Poljak
44700424ba
Merge branch '__update_alternatives_with_explorer' into 'master'
...
__update_alternatives: add state explorer
See merge request ungleich-public/cdist!848
5 years ago
Ander Punnar
a3bc8f9407
__update_alternatives: remove expired comment
5 years ago
Ander Punnar
b891bb05d5
__update_alternatives: add state explorer
5 years ago
Timothée Floure
09540dc6bd
Add simple __service type
5 years ago
Timothée Floure
31ad1bdaad
Fix various typos and styling errors in __consul_agent, conf-dir
...
explorer
5 years ago
Timothée Floure
f595664924
Patch __consul_* to discover remote consul configuration dir
5 years ago
Timothée Floure
70200cd28f
Refactor __consul_agent type to support distribution packages
5 years ago