ander
b31e13eacf
README: add bits about cdist-contrib
3 years ago
ander
56a65518ab
README: add participating section
3 years ago
ander
0b3c417aef
update README
3 years ago
Darko Poljak
04b7f240eb
++changelog
3 years ago
poljakowski
8074f02bb3
Merge branch 'evilham-pf' into 'master'
...
[__pf*] (~) __pf_ruleset (+)__pf_apply_anchor, deprecate __pf_apply
See merge request ungleich-public/cdist!867
3 years ago
poljakowski
71156258a4
Merge branch 'evilham-postfix' into 'master'
...
[__postfix] Automagically support more OSs by not checking too much.
See merge request ungleich-public/cdist!866
3 years ago
poljakowski
c13608fab5
Merge branch 'evilham-openldap_server' into 'master'
...
[__openldap_server] Support extra config parameter.
See merge request ungleich-public/cdist!865
3 years ago
poljakowski
b40b95d758
Merge branch 'evilham-motd' into 'master'
...
[__motd] Improve documentation and support for FreeBSD
See merge request ungleich-public/cdist!864
3 years ago
poljakowski
6ec3274598
Merge branch 'postgres-database-args' into 'master'
...
Add --template, --encoding, --lc-collate, --lc-support to __postgres_database type
See merge request ungleich-public/cdist!859
3 years ago
poljakowski
80d204368a
Merge branch 'fix-configuration-file-location' into 'master'
...
Fix configuration file location
See merge request ungleich-public/cdist!863
3 years ago
evilham
2928795441
[__pf_ruleset] Fix shellcheck issue.
3 years ago
evilham
fefe90e9c9
[__pf*] (~) __pf_ruleset (+)__pf_apply_anchor, deprecate __pf_apply
...
__pf_apply the way it exists on cdist is not really useful and __pf_ruleset does
not take advantage of other types as it should, being instead overly complex and
not as reliable.
The new __pf_ruleset is compatible with the previous one, and __pf_apply_anchors
allows for a simple and powerful way of managing pf anchors.
The functionality previously provided by __pf_apply is still possible out of the
box in __pf_ruleset.
These patches were mostly contributed by Kamila Součková and made fit for
upstreaming by Evilham.
3 years ago
evilham
5981d0a5f1
[__postfix] Automagically support more OSs by not checking too much.
...
It is quite likely that the package is going to be called postfix, rather
than trying to have an exhaustive "allow list" for this package, we can
just add special cases for OSs where that is not the case (not aware of any
atm).
3 years ago
evilham
056c7c5400
[__openldap_server] Support extra config parameter.
...
This allows the user to, e.g. manually define ACLs, while this type does not
support that.
3 years ago
evilham
de37b0ce45
[__motd] Improve documentation and support for FreeBSD
...
This makes it easier to use the type just by reading the man page and also
treats FreeBSD's MOTD better.
3 years ago
Darko Poljak
41e59a748d
Fix newly found shellcheck issues
3 years ago
Darko Poljak
38ccdfda32
Fix newly found shellcheck issues
3 years ago
fnux
e2b26aa233
Patch CI configuration to use cdist-ci image
3 years ago
fnux
7d57655470
Fix typo in cdist-ci image README
3 years ago
fnux
c9c1e7d790
Import CI image definition
3 years ago
sparrowhawk
742163e38c
Fix configuration file location
3 years ago
fnux
c3f924d350
Add --template flag to __postgres_database type
3 years ago
Darko Poljak
0805fac7e9
Release 6.5.4
3 years ago
Darko Poljak
d1eecb93ee
++changelog
3 years ago
poljakowski
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
3 years ago
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.
3 years ago
Darko Poljak
1ebcc219c2
++changelog
3 years ago
Steven Armstrong
e19c1bb1e0
remove duplicates from conf dirs while preserving order
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
3 years ago
Steven Armstrong
76d978d3d8
explorer/init: do not grep on non-existent init
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
3 years ago
fnux
d53077f4e8
Add --encoding, --lc-collate, --lc-support to __postgres_database type
3 years ago
Darko Poljak
ceb6b597ef
Release 6.5.3
3 years ago
Darko Poljak
890c73f6bd
Fix shellcheck issues
3 years ago
Nico Schottelius
d034fe9369
[__pyvenv] use python3 -m venv on alpine
...
Until python4 comes, this will work
3 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:~%
3 years ago
Darko Poljak
da30afe791
++changelog
3 years ago
poljakowski
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
3 years ago
Darko Poljak
b25939cdd6
Fix shellcheck
3 years ago
Darko Poljak
df63cfe088
++changelog
3 years ago
poljakowski
11148995d1
Merge branch 'master' into 'master'
...
fix typo
See merge request ungleich-public/cdist!857
3 years ago
Nico Schottelius
ec11f04ab8
++changes
3 years ago
Nico Schottelius
66d9905029
[__consul_agent] make conf_dir depent on the OS
3 years ago
andrewschleifer
f00e4af5f0
fix typo
3 years ago
matze
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
#803
3 years ago
Darko Poljak
f7d5f5bc97
++changelog
3 years ago
poljakowski
4481052184
Merge branch 'alpinefix' into 'master'
...
Fix for alpine "getent shadow" missing functionality in __user type
See merge request ungleich-public/cdist!855
3 years ago
llnu
fb32d6ed3f
alpine uses a different getent lib which doesnt support: getent shadow
3 years ago
Darko Poljak
213f1b049c
Release 6.5.2
3 years ago
Darko Poljak
da6ccf808e
++changelog
3 years ago
poljakowski
4b24d886eb
Merge branch 'file/better-errors' into 'master'
...
[__file] Better errors analogous to __directory
See merge request ungleich-public/cdist!854
3 years ago
Dennis Camera
9eacba06bb
[__file] Treat pre-exists as a special case in gencode-remote as it should never get there
3 years ago