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
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
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
Darko Poljak
955243a93b
Update cdist man page copyright years
2020-06-09 12:51:19 +02:00
Darko Poljak
191f45eb7f
++changelog
2020-06-08 13:48:37 +02:00
Darko Poljak
58f101b8e8
Merge branch 'dheule-fix_os_explorer_sles15'
2020-06-08 13:44:11 +02:00
Darko Poljak
a251e53495
Merge branch 'fix_os_explorer_sles15' of https://github.com/dheule/cdist into dheule-fix_os_explorer_sles15
2020-06-08 13:43:41 +02:00
Darko Poljak
4a81c019e3
Merge branch 'jaakristioja-master'
2020-06-08 13:37:51 +02:00
Jaak Ristioja
7b262c0cec
[docs] Fixed capitalization of URLs in cdist-bootstrap.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
dc018fdb16
[docs] Fixed typo in cdist-cache.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
978e249043
[docs] Fixed capitalization of POSIX in cdist-install.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
e1ff1bfdff
[docs] Fixed two typos in cdist-real-world.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
46574fc577
[docs] Fixed three typos in cdist-upgrade.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
3d725f12da
[docs] Fixed a typo and s/posix/POSIX/ in cdist-why.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:12:03 +03:00
Jaak Ristioja
f5630297bd
[docs] Fixed typo in cdist-configuration.rst
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-06-08 14:11:58 +03:00
Darko Poljak
be47619b1e
++changelog
2020-06-08 09:11:51 +02:00
c8a98c02ff
Merge branch 'no-color' into 'master'
...
Respect NO_COLOR environment variable
See merge request ungleich-public/cdist!887
2020-06-08 09:09:50 +02:00
Dennis Camera
89ebd7a4f7
cdist man page: update --colors metavar name
2020-06-07 19:20:10 +02:00
Dennis Camera
23e66e08fa
Restrict colored_output value to always/never/auto.
2020-06-06 13:45:31 +02:00
Dennis Camera
7a570f8692
[cdist.cfg.skeleton] Update colored_output documentation based on cdist(1)
2020-06-05 13:59:17 +02:00
Dennis Camera
790c6efae9
Update colored output documentation
2020-06-05 13:56:30 +02:00
Dennis Camera
89e48734bf
Let config file and command line override NO_COLOR envvar
2020-06-05 12:23:36 +02:00
Dennis Camera
cdb0d2be41
Patch tests
2020-06-03 23:21:50 +02:00
Dennis Camera
747c6b1076
Respect NO_COLOR environment variable
2020-06-03 22:17:52 +02:00
Daniel Heule
6a611e556a
fix os explorer for sles15
2020-06-02 13:40:21 +02:00
Darko Poljak
48d66b0143
++changelog
2020-06-01 22:25:15 +02:00
fc9ce280f7
Merge branch 'bugfix/sphinx-build-failure' into 'master'
...
Bugfix/sphinx build failure
Closes #814
See merge request ungleich-public/cdist!885
2020-06-01 22:23:50 +02:00
Darko Poljak
55ebd1a4c5
Fix man build failure in newer sphinx versions
2020-06-01 20:22:40 +02:00
Darko Poljak
9a4e3488c2
++changelog
2020-06-01 19:17:02 +02:00
3fc36a67a1
Merge branch 'evilham-colored-output' into 'master'
...
[UX] Add option to enable LogLevel-based coloured output.
See merge request ungleich-public/cdist!879
2020-06-01 19:11:58 +02:00
ba77ea9edc
[UX] Add option to enable LogLevel-based coloured output.
...
This makes it easier for new and experienced users to run cdist with higher
verbosity levels, both to know that things are working as expected and to debug
issues.
Documentation has been modified accordingly and default behaviour is not
changed.
2020-06-01 19:11:58 +02:00
Darko Poljak
988190363a
Resolve shellcheck SC1090
2020-05-30 15:10:13 +02:00
Darko Poljak
b354ea6e94
++changelog
2020-05-30 10:49:13 +02:00
b99f1eda0f
Merge branch '__ssh_authorized_keys_remove_unknown' into 'master'
...
[__ssh_authorized_keys] add --remove-unknown parameter
See merge request ungleich-public/cdist!884
2020-05-30 10:48:02 +02:00
29c0180204
[__ssh_authorized_keys] add --remove-unknown parameter
2020-05-28 23:31:13 +03:00
Darko Poljak
abac79d4a5
Release 6.5.6
2020-05-25 11:16:48 +02:00
Darko Poljak
ba64971a56
++changelog
2020-05-24 17:05:01 +02:00
06cc20aa28
Merge branch 'bugfix/multiple-log-lines' into 'master'
...
Fix multiple log lines
Closes #813
See merge request ungleich-public/cdist!883
2020-05-24 17:01:31 +02:00
Darko Poljak
f4e1bbc87e
Fix multiple log lines
...
Fixes #813 .
2020-05-24 01:10:56 +02:00
Darko Poljak
6ba73c4be6
++changelog
2020-05-23 19:03:13 +02:00
15e4b5ee3b
Merge branch '__user_remove_freebsd_fix' into 'master'
...
[__user] fix user delete on freebsd
See merge request ungleich-public/cdist!882
2020-05-23 19:02:31 +02:00
b7d3da443c
Merge branch 'jaakristioja-master' into github
2020-05-23 01:15:09 +03:00
716d3554f3
[__user] fix user delete on freebsd
2020-05-23 00:48:35 +03:00
Jaak Ristioja
66f4421089
[docs] Fixed two typos in cdist.cfg.skeleton
...
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2020-05-22 17:14:29 +03:00
Darko Poljak
226ed02c1c
++changelog
2020-05-22 10:09:05 +02: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
d1b73dd42b
Merge branch '__motd_fix_for_debians' into 'master'
...
[__motd] debian|ubuntu|devuan use /etc/motd
See merge request ungleich-public/cdist!880
2020-05-22 10:05:50 +02:00