| CDIST-TYPE__CONFIG_FILE(7) | cdist | CDIST-TYPE__CONFIG_FILE(7) |
NAME
cdist-type__config_file - _Manages config files
DESCRIPTION
Deploy config files using the file type. Run the given code if the files changes.
REQUIRED PARAMETERS
None.
OPTIONAL PARAMETERS
EXAMPLES
__config_file /etc/consul/conf.d/watch_foo.json \
--owner root --group consul --mode 640 \
--source "$__type/files/watch_foo.json" \
--state present \
--onchange 'service consul status >/dev/null && service consul reload || true'
SEE ALSO
AUTHORS
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
Copyright (C) 2015 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
COPYRIGHT
ungleich GmbH 2021
| September 26, 2023 | 7.0.0 |