DOKK / manpages / debian 10 / cdist / cdist-type__config_file.7.en

cdist-type__config_file - _Manages config files

Deploy config files using the file type. Run the given code if the files changes.


see cdist-type__file
see cdist-type__file
the code to run if the file changes
see cdist-type__file
Path to the config file. If source is '-' (dash), take what was written to stdin as the config file content.
see cdist-type__file

__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'


Steven Armstrong <>

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.

February 16, 2019 4.10.6