45cb56d22b
Import __matrix_riot type
2020-02-26 14:57:23 +01:00
e6f683b886
Add support for alpine (edge) package to __consul_agent
2020-02-24 09:20:49 +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
Dennis Camera
0d84c91b40
[explorer/init] Fix unique() for Solaris
2020-02-20 23:34:19 +01:00
Dennis Camera
364340c8d5
[explorer/init] Refactor and testing
2020-02-20 23:34:19 +01:00
Dennis Camera
d895bb0e87
[explorer/init] Clean up
2020-02-20 23:34:19 +01:00
Dennis Camera
21c9e3db18
[explorer/init] Support more init systems
2020-02-20 23:34:11 +01:00
28d3760e29
[cdist]Update os_version for alpine
2020-02-20 09:40:55 +01:00
a3bc8f9407
__update_alternatives: remove expired comment
2020-02-19 12:59:14 +02:00
b891bb05d5
__update_alternatives: add state explorer
2020-02-19 12:58:22 +02:00
09540dc6bd
Add simple __service type
2020-02-17 21:38:03 +01:00
31ad1bdaad
Fix various typos and styling errors in __consul_agent, conf-dir
...
explorer
2020-02-17 13:43:18 +01:00
f595664924
Patch __consul_* to discover remote consul configuration dir
2020-02-17 13:42:19 +01:00
70200cd28f
Refactor __consul_agent type to support distribution packages
2020-02-17 13:42:19 +01:00
Darko Poljak
0640b02f90
Fix too short title underline
2020-02-15 14:59:12 +01:00
7acbc8709b
Merge branch 'postgres-role-password' into 'master'
...
Fix password command synthax in __postgres_role
See merge request ungleich-public/cdist!845
2020-02-15 14:36:54 +01:00
a1536933ab
Fix password command synthax in __postgres_role
2020-02-15 14:16:00 +01:00
221c3820ca
Merge branch 'type/__systemd_service' into 'master'
...
[__systemd_service] new type to manage the state of systemd services
See merge request ungleich-public/cdist!844
2020-02-15 12:22:04 +01:00
b898412faf
Merge branch 'fix/__cron' into 'master'
...
[__cron] Fix cronjob removal if `is` and `should` don't match
See merge request ungleich-public/cdist!841
2020-02-15 12:16:58 +01:00
ef089d1c61
[__systemd_service] new type to manage the state of systemd services
2020-02-15 11:42:01 +01:00
5e6e17b3e5
Moved default parameter values from scripts to cdist parameter handling.
...
For more generalisation, the default parameter values are now handled by
cdist instead of trying to get a value and use a default if parameter is
not given.
It handles the default values in a more general way, instead of write
one default in (possibly) multiple places.
Problem occurred when checking the 'state' parameter, which required to
set a default value in two places.
2020-02-15 09:46:23 +01:00
a761d4842c
Add check for the state parameter in manifest.
...
This only allow following cases:
- present
- absent
else, it will abort with an error message.
2020-02-15 08:21:24 +01:00
c8dbd0718e
Merge branch '__package_apt_updates_index' into 'master'
...
__package_apt: update index cache, on installation, when it is older than one day
See merge request ungleich-public/cdist!842
2020-02-14 21:57:04 +01:00
869a38676f
__package_apt: add comment about package index update
2020-02-14 19:22:06 +02:00
1be5a9d316
__package_apt: add note about updating index
2020-02-14 19:19:12 +02:00
f771840178
__mysql_privileges: fix typo
2020-02-13 17:38:34 +02:00
b7483d73eb
__mysql_privileges: fix shellcheck
2020-02-13 17:38:19 +02:00
710e99f240
__mysql_privileges: fix quoting
2020-02-13 17:29:44 +02:00
b3bad9468d
__package_apt: pkgcache.bin may not exist
2020-02-09 20:43:09 +02:00
08d5814e2c
__package_apt: update index cache, on installation, when it is older than one day
2020-02-09 20:37:06 +02:00
0edda3b528
Merge branch 'no-stat-patch' into 'master'
...
__file/__directory: Patch for systems without stat(1)
See merge request ungleich-public/cdist!839
2020-02-04 07:46:28 +01:00
Dennis Camera
984e0dc8c4
[explorer/os_release] Add fallbacks to /usr/lib/os-release and /var/run/os-release
2020-02-03 19:29:04 +01:00
Dennis Camera
3b5433d63a
[__directory] stat explorer patch for systems without stat(1)
...
Some embedded systems (like OpenWrt) do not ship a stat(1) binary.
This workaround parses the output of ls(1) and /etc/passwd, /etc/group to
gather the information needed.
2020-02-03 18:36:59 +01:00
Dennis Camera
e82dd35869
[__file] stat explorer patch for systems without stat(1)
...
Some embedded systems (like OpenWrt) do not ship a stat(1) binary.
This workaround parses the output of ls(1) and /etc/passwd, /etc/group to
gather the information needed.
2020-02-03 18:36:59 +01:00
Nico Schottelius
2d8afe0d16
Merge branch 'master' of code.ungleich.ch:ungleich-public/cdist
2020-02-03 17:44:55 +01:00
Nico Schottelius
f3237e5d76
[consul agent] add support for Debian 10
2020-02-03 17:44:47 +01:00
e5d86ffc93
Fix to remove cronjobs when the cronjob expression did not match.
2020-02-01 17:08:25 +01:00
Dennis Camera
4fe2dcba89
[explorer/init] Linux is a mess...
2020-01-30 18:35:50 +01:00
Dennis Camera
de1a421b68
[explorer/init] Support for Darwin and more BusyBox combinations
2020-01-30 18:04:00 +01:00
1fbd2fc2bd
__acl: add --file and --directory for convenience
2020-01-19 22:51:40 +02:00
e1ac97b6a5
__acl: add --source
2020-01-19 14:02:00 +02:00
Darko Poljak
ffb3c003ca
Merge branch 'ssrq/cdist-line-patches'
2020-01-17 18:07:14 +01:00
efdeab61f3
Merge branch '__apt_unattended_upgrades' into 'master'
...
__apt_unattended_upgrades
See merge request ungleich-public/cdist!828
2020-01-17 15:50:07 +01:00
65c5b592a5
__apt_unattended_upgrades: update manual
2020-01-17 14:48:54 +02:00
6097cd9e90
__apt_unattended_upgrades: use word expansions
2020-01-17 14:41:00 +02:00
ef2f4b9a00
__postgres_*: fix forgotten edge cases in delimited identifier escape
2020-01-17 11:24:24 +01:00
6fa0d687f7
__apt_unattended_upgrades: alternative approach
2020-01-16 01:13:27 +02:00