766198912d
Previously, cdist would silently swallow the error (no invalid config file was generated). Reason: `set -e` does not exit if a command in a sub-command group fails, it merely returns with a non-zero exit status. e.g. the following snippet does not abort the script if sshd -t returns with a non-zero exit status: set -e cmp -s old new || { # check config file and update it sshd -t -f new \ && cat new >old } or compressed: set -e false || { false && true; } echo $? # prints 1 |
||
---|---|---|
.. | ||
explorer | ||
manifest | ||
type | ||
.gitignore | ||
README |
This is a sample configuration that can be used as an example for /etc/cdist. For instance: [root@kr etc]# ln -s ~nico/p/cdist/conf/ /etc/cdist