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
Jin-Guk Kwon
28d3760e29
[cdist]Update os_version for alpine
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
Darko Poljak
0640b02f90
Fix too short title underline
5 years ago
Timothée Floure
a1536933ab
Fix password command synthax in __postgres_role
5 years ago
Matthias Stecher
ef089d1c61
[__systemd_service] new type to manage the state of systemd services
5 years ago
Matthias Stecher
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.
5 years ago
Matthias Stecher
a761d4842c
Add check for the state parameter in manifest.
...
This only allow following cases:
- present
- absent
else, it will abort with an error message.
5 years ago
Ander Punnar
869a38676f
__package_apt: add comment about package index update
5 years ago
Ander Punnar
1be5a9d316
__package_apt: add note about updating index
5 years ago
Ander Punnar
f771840178
__mysql_privileges: fix typo
5 years ago
Ander Punnar
b7483d73eb
__mysql_privileges: fix shellcheck
5 years ago
Ander Punnar
710e99f240
__mysql_privileges: fix quoting
5 years ago
Ander Punnar
b3bad9468d
__package_apt: pkgcache.bin may not exist
5 years ago
Ander Punnar
08d5814e2c
__package_apt: update index cache, on installation, when it is older than one day
5 years ago
Dennis Camera
984e0dc8c4
[explorer/os_release] Add fallbacks to /usr/lib/os-release and /var/run/os-release
5 years ago
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.
5 years ago
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.
5 years ago
Nico Schottelius
f3237e5d76
[consul agent] add support for Debian 10
5 years ago
Matthias Stecher
e5d86ffc93
Fix to remove cronjobs when the cronjob expression did not match.
5 years ago
Dennis Camera
4fe2dcba89
[explorer/init] Linux is a mess...
5 years ago
Dennis Camera
de1a421b68
[explorer/init] Support for Darwin and more BusyBox combinations
5 years ago
Ander Punnar
1fbd2fc2bd
__acl: add --file and --directory for convenience
5 years ago
Ander Punnar
e1ac97b6a5
__acl: add --source
5 years ago
Ander Punnar
65c5b592a5
__apt_unattended_upgrades: update manual
5 years ago
Ander Punnar
6097cd9e90
__apt_unattended_upgrades: use word expansions
5 years ago
Timothée Floure
ef2f4b9a00
__postgres_*: fix forgotten edge cases in delimited identifier escape
5 years ago
Ander Punnar
6fa0d687f7
__apt_unattended_upgrades: alternative approach
5 years ago
Ander Punnar
f5f70671cb
__apt_unattended_upgrades: make parameters more speaking
5 years ago
Dennis Camera
5a9a1ba57f
[__line] Produce error when file does not exist
5 years ago
Ander Punnar
b3f36dbe5b
__apt_unattended_upgrades: fix typo
5 years ago
Ander Punnar
cd24a806e7
__apt_unattended_upgrades: rewrite manifest, add more parameters
5 years ago
Ander Punnar
68e5502fce
__apt_unattended_upgrades: move debian wiki link to manual
5 years ago
Ander Punnar
cd2d5b3f79
__apt_unattended_upgrades: all objects depend on package
5 years ago
Dennis Camera
51b1b11cc2
[__line/state] Logic fixes in explorer
...
This commit fixes the incorrectly reported state "wrongposition" if position is
"after" and anchor is present in the file but the line missing.
5 years ago
Dennis Camera
4cdb8aaa03
[__line/state] Make sure the index match is at the beginning
...
Without the == 1 all lines which contain --line as a substring match. e.g. if
--line is "line" and the file contains the line "wrong line" this was considered
a match.
5 years ago
Dennis Camera
629d0795c8
[__line] Always add line to end if anchor is not found
5 years ago
Dennis Camera
93ec4b46aa
[__line] Ensure the line is only added once
5 years ago
Ander Punnar
d4bd49bbb5
__acl: rename --acl to --entry for the sake of consistency, add compatibility
5 years ago
Ander Punnar
ec8d9571f9
__apt_unattended_upgrades: add manual
5 years ago
Ander Punnar
a9d491f998
__apt_unattended_upgrades: add license header
5 years ago
Ander Punnar
94e32dcd78
__apt_unattended_upgrades: initial commit
5 years ago
Ander Punnar
4329cced82
__mysql_privileges: add manual
5 years ago
Ander Punnar
5e8dc7122d
__mysql_user: add manual
5 years ago
Ander Punnar
fcc774cb7b
__mysql_database: add manual
5 years ago