056c7c5400
[__openldap_server] Support extra config parameter.
...
This allows the user to, e.g. manually define ACLs, while this type does not
support that.
2020-04-25 00:12:24 +02:00
Darko Poljak
41e59a748d
Fix newly found shellcheck issues
2020-04-22 23:24:34 +02:00
Darko Poljak
38ccdfda32
Fix newly found shellcheck issues
2020-04-22 23:21:34 +02:00
e2b26aa233
Patch CI configuration to use cdist-ci image
2020-04-21 08:16:46 +02:00
7d57655470
Fix typo in cdist-ci image README
2020-04-21 08:15:51 +02:00
c9c1e7d790
Import CI image definition
2020-04-21 08:13:32 +02:00
Darko Poljak
0805fac7e9
Release 6.5.4
2020-04-11 20:35:29 +02:00
Darko Poljak
d1eecb93ee
++changelog
2020-04-11 20:30:56 +02:00
8af4f7993c
Merge branch 'preserve-conf-dir-sort-order' into 'master'
...
remove duplicates from conf dirs while preserving order
See merge request ungleich-public/cdist!862
2020-04-11 20:30:11 +02:00
Darko Poljak
704e78322e
Use OrderedDict to guarantee order
...
Note:
> Changed in version 3.7: Dictionary order is guaranteed to be
> insertion order. This behavior was an implementation detail of
> CPython from 3.6.
2020-04-11 20:26:20 +02:00
Darko Poljak
1ebcc219c2
++changelog
2020-04-11 09:54:57 +02:00
Steven Armstrong
e19c1bb1e0
remove duplicates from conf dirs while preserving order
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2020-04-10 21:50:39 +02:00
Steven Armstrong
76d978d3d8
explorer/init: do not grep on non-existent init
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2020-04-10 10:51:17 +02:00
Darko Poljak
ceb6b597ef
Release 6.5.3
2020-04-03 19:45:44 +02:00
Darko Poljak
890c73f6bd
Fix shellcheck issues
2020-04-02 20:18:04 +02:00
Nico Schottelius
d034fe9369
[__pyvenv] use python3 -m venv on alpine
...
Until python4 comes, this will work
2020-04-02 18:24:13 +02:00
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:~%
2020-04-02 18:14:09 +02:00
Darko Poljak
da30afe791
++changelog
2020-03-29 12:54:02 +02:00
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
2020-03-29 13:53:55 +02:00
Darko Poljak
b25939cdd6
Fix shellcheck
2020-03-27 13:30:52 +01:00
Darko Poljak
df63cfe088
++changelog
2020-03-27 08:50:27 +01:00
11148995d1
Merge branch 'master' into 'master'
...
fix typo
See merge request ungleich-public/cdist!857
2020-03-27 08:50:29 +01:00
Nico Schottelius
ec11f04ab8
++changes
2020-03-26 21:49:43 +01:00
Nico Schottelius
66d9905029
[__consul_agent] make conf_dir depent on the OS
2020-03-26 21:48:17 +01:00
f00e4af5f0
fix typo
2020-03-26 21:17:32 +08:00
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
ungleich-public/cdist#803
2020-03-14 09:58:38 +01:00
Darko Poljak
f7d5f5bc97
++changelog
2020-03-09 08:02:18 +01:00
4481052184
Merge branch 'alpinefix' into 'master'
...
Fix for alpine "getent shadow" missing functionality in __user type
See merge request ungleich-public/cdist!855
2020-03-09 08:03:34 +01:00
fb32d6ed3f
alpine uses a different getent lib which doesnt support: getent shadow
2020-03-08 16:04:02 +01:00
Darko Poljak
213f1b049c
Release 6.5.2
2020-02-27 20:23:04 +01:00
Darko Poljak
da6ccf808e
++changelog
2020-02-26 21:48:08 +01:00
4b24d886eb
Merge branch 'file/better-errors' into 'master'
...
[__file] Better errors analogous to __directory
See merge request ungleich-public/cdist!854
2020-02-26 21:50:01 +01:00
Dennis Camera
9eacba06bb
[__file] Treat pre-exists as a special case in gencode-remote as it should never get there
2020-02-26 16:48:14 +01:00
Dennis Camera
46d2487f08
[__file] Give more precise error message when --state pre-exists
2020-02-26 16:40:53 +01:00
Darko Poljak
046f7d0663
++changelog
2020-02-26 16:32:03 +01:00
dd6b07d924
Merge branch 'directory-exists' into 'master'
...
[__directory] Add --state exists and --state pre-exists
See merge request ungleich-public/cdist!832
2020-02-26 16:33:37 +01:00
Dennis Camera
6b4b6534a1
[__directory] Give more precise error message when --state pre-exists
2020-02-26 16:15:23 +01:00
Darko Poljak
b2db864eaf
++changelog
2020-02-26 13:01:29 +01:00
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
2020-02-26 12:53:26 +01:00
Dennis Camera
6db6dc4ac0
[explorer/disks] Add license header
2020-02-25 20:24:14 +01:00
Dennis Camera
1ef126e16f
[explorer/disks] Move xargs call to the bottom
2020-02-25 20:21:35 +01:00
Dennis Camera
d3bd2669ec
[explorer/disks] Support Linux without lsblk (fallback to sysfs)
2020-02-25 20:21:14 +01:00
0c49a0afda
Merge branch 'consul-alpine' into 'master'
...
Add support for alpine (edge) package to __consul_agent
See merge request ungleich-public/cdist!851
2020-02-24 09:54:56 +01:00
e6f683b886
Add support for alpine (edge) package to __consul_agent
2020-02-24 09:20:49 +01:00
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.
2020-02-23 22:59:41 +01:00
Darko Poljak
49fc21ec47
++changelog
2020-02-23 09:32:03 +01:00
47ec9ada10
Merge branch 'consul_agent' into 'master'
...
Refactor __consul_* for use with distribution packages
See merge request ungleich-public/cdist!837
2020-02-23 09:28:24 +01:00
e1b80f7222
Merge branch 'service' into 'master'
...
Add simple __service type
See merge request ungleich-public/cdist!847
2020-02-23 09:21:29 +01:00
2a5309b413
Merge branch 'fix/init-explorer/busybox' into 'master'
...
[explorer/init] Support more init systems
See merge request ungleich-public/cdist!850
2020-02-23 09:18:51 +01:00
Dennis Camera
0d6bc8e8f8
[explorer/init] Make shellcheck happy
2020-02-20 23:34:19 +01:00