Dennis Camera
0ae0935afa
[type/__locale_system] Add support for SuSE
2020-07-26 20:10:34 +02:00
Dennis Camera
630d987d5f
[type/__locale_system] Add support for Void Linux
2020-07-26 20:10:34 +02:00
Dennis Camera
0ef54a721d
[type/__locale_system] Add support for Gentoo Linux
2020-07-26 20:10:34 +02:00
Dennis Camera
47e28fc441
[type/__locale_system] Support old Debian derivatives
2020-07-26 20:10:34 +02:00
Dennis Camera
a590504436
[type/__locale_system] RedHat systems on systemd use /etc/locale.conf
2020-07-26 20:10:34 +02:00
9df29de564
Merge branch 'rm-deprecated-__pf_apply' into 'master'
...
Remove deprecated __pf_apply
See merge request ungleich-public/cdist!899
2020-07-24 12:30:32 +02:00
fnux
ae5f0bba0b
Add Alpine support to __openldap_server
2020-07-24 12:26:35 +02:00
5d0f6caef7
Merge branch 'hotfix/stat-explorer' into 'master'
...
Hotfix: Fix incorrect interpretation of --mode strings with leading 0s as octal
See merge request ungleich-public/cdist!911
2020-07-23 10:59:18 +02:00
Dennis Camera
595e43b8d5
[type/{__file,__directory}] Fix incorrect interpretation of strings with leading 0s as octal
2020-07-23 09:43:40 +02:00
Dennis Camera
3965c7f738
[type/__user] Install user{add,mod,del} packages on OpenWrt
2020-07-21 19:42:40 +02:00
bc97073131
Merge branch 'bugfix/postfix-master-option' into '6.6'
...
Fix broken --option parameter in __postfix_master type
See merge request ungleich-public/cdist!905
(cherry picked from commit 2f433a1458f3a1f7f8859e9ae165178a0ec5b7a0)
9496b234
The option parameter is actually multi-valued
4009bbd7
Protect postfix variables in options
2020-07-13 07:49:49 +02:00
652ffea4a8
Merge branch 'fix/stat-explorer' into 'master'
...
type/{__file/__directory}: Support setuid,setguid,sticky bits
See merge request ungleich-public/cdist!903
2020-07-13 07:37:50 +02:00
Dennis Camera
9fb7e151b8
[type/{__file/__directory}] Remove special Solaris blocks
...
Solaris 11 has GNU stat (handled by *)
Solaris 10 (and older?) does not have stat (handled by failing command -v stat)
On Solaris 10 (at least on UFS), setgid cannot be set on directories.
Unlike on other systems `chmod 2400` is not `-r----S---`, but `-r----l---`.
2020-07-12 12:41:02 +02:00
Dennis Camera
19514662b0
[type/{__file/__directory}] Fix typo
2020-07-12 12:24:00 +02:00
Dennis Camera
a5ae26116b
[type/__hosts] Fix when used without --alias
2020-07-11 18:57:47 +02:00
Darko Poljak
cb9933b4a0
Fix state -> state_is
2020-07-08 12:43:55 +02:00
fde5627721
Merge branch '__download_improvements' into 'master'
...
__download improvements
See merge request ungleich-public/cdist!895
2020-07-08 12:33:41 +02:00
e906266286
[__download] s/variable/format specification/
2020-07-08 00:20:55 +03:00
93506d2113
[__download] curl follow redirects
2020-07-08 00:17:12 +03:00
727f3dbb03
Merge branch 'fix/type/__user/openbsd-shadow' into 'master'
...
__user: Fix shadow explorer for OpenBSD
See merge request ungleich-public/cdist!902
2020-06-30 22:55:33 +02:00
c5a8004c9a
Merge branch 'hosts-aliases' into 'master'
...
__hosts: add --alias parameter
See merge request ungleich-public/cdist!901
2020-06-30 22:52:52 +02:00
Dennis Camera
3860f1feea
[type/{__file/__directory}] Support setuid,setguid,sticky bits
2020-06-30 15:10:30 +02:00
Dennis Camera
6467ccbdcc
[type/__user] Make shellcheck happy
2020-06-30 14:31:11 +02:00
ssrq
9e33a8f42f
Merge branch 'master' into 'fix/type/__user/openbsd-shadow'
...
# Conflicts:
# cdist/conf/type/__user/explorer/shadow
2020-06-30 14:26:23 +02:00
Dennis Camera
999e7b0134
[type/__user] Fix shadow explorer for OpenBSD
2020-06-30 14:23:34 +02:00
Dennis Camera
a263fdfe58
[__hosts] Add --alias parameter
...
The --alias parameter allows to specify a hostname and multiple aliases on a
single /etc/hosts line.
2020-06-30 14:05:26 +02:00
99b5dcd8f0
Merge branch 'master' into __download_improvements
2020-06-28 16:57:13 +03:00
b6bf90e3f1
[__download] update manual
2020-06-28 16:43:45 +03:00
85614aabd6
[__download] add --download (local|remote), update manual
2020-06-28 16:38:15 +03:00
684043bf37
Merge branch 'fix/type/__package_opkg/lock' into 'master'
...
__package_opkg: Add locking
See merge request ungleich-public/cdist!896
2020-06-25 06:31:16 +02:00
ceedcd02f2
Merge branch 'feature/type/__locale_system/support-devuan' into 'master'
...
__locale_system: "Whitelist" Devuan
See merge request ungleich-public/cdist!900
2020-06-25 06:24:17 +02:00
Dennis Camera
5364d3bc90
[type/__package_opkg] Implement flock locking if available
2020-06-24 21:06:10 +02:00
Dennis Camera
a9778965be
[type/__package_opkg] Use mkdir(1) to lock instead of noclobber
...
noclobber is potentially unsafe, because it relies on the underlying shell to
implement noclobber in a safe way that avoids race conditions between multiple
processes.
mkdir is safer because it is mandated by POSIX to "fail" if the target already
exists.
2020-06-24 08:47:22 +02:00
Darko Poljak
49dde11def
Remove deprecated __pf_apply
2020-06-24 07:04:32 +02:00
Dennis Camera
3649555f35
[type/__package_opkg] Do not lock execution of code-remote (revert)
...
Instead, rely on `nonparallel`.
In any case cdist should never run explorer and code concurrently even if the
dependency graph would allow to do so as it would result in many more
synchronization issues than this one.
2020-06-22 09:32:57 +02:00
26dfdf37c2
[__download] support multiple checksum formats and download utilities, add --onchange and other minor changes
2020-06-21 23:39:53 +03:00
Dennis Camera
6aae58dea7
[type/__package_opkg] Mark lock variables readonly
2020-06-21 17:35:28 +02:00
Dennis Camera
e79b26a61f
[type/__package_opkg] Also lock execution of code-remote
2020-06-21 15:53:01 +02:00
Dennis Camera
97e48be39e
[type/__package_opkg] Fix explorer running in parallel
2020-06-21 15:52:57 +02:00
d59ba09d71
Merge branch '__download' into 'master'
...
new type: __download
See merge request ungleich-public/cdist!892
2020-06-17 13:39:07 +02:00
201050a9e5
new type: __download
2020-06-16 20:53:31 +03:00
7c490a703d
[__clean_path] add --path parameter
2020-06-10 11:38:14 +03:00
Darko Poljak
988190363a
Resolve shellcheck SC1090
2020-05-30 15:10:13 +02:00
29c0180204
[__ssh_authorized_keys] add --remove-unknown parameter
2020-05-28 23:31:13 +03:00
716d3554f3
[__user] fix user delete on freebsd
2020-05-23 00:48:35 +03:00
dab32b0cb6
Merge branch '__group_freebsd_fix' into 'master'
...
[__group] fix --gid on freebsd
See merge request ungleich-public/cdist!881
2020-05-22 10:08:29 +02:00
3bcbd95269
[__motd] debian|ubuntu|devuan use /etc/motd
2020-05-22 02:36:49 +03:00
bf25a18a04
[__group] fix --gid on freebsd
2020-05-22 02:31:38 +03:00
ad58ea79c2
[__ssh_authorized_keys] Fix bug where --option was not multiple
...
This went against both documentation and intent.
2020-05-18 20:01:01 +02:00
8d639d54d0
Merge branch 'evilham-authorized_keys-man' into 'master'
...
[__ssh_authorizedkey{,s}] Improve documentation.
See merge request ungleich-public/cdist!877
2020-05-18 19:49:50 +02:00