alexa…@gmail.com writes:
Hello The file /var/cfengine/inputs/zabbix/my.cnf on cfengine server was modified. But this file will update only after bootstrap on client side. In boundle zabbix have entry copy_from => local_dcp("$(this.promise_dirname)/my.cnf"), How update my.cnf on client side automaticaly (without bootstrap)?
Hi,
There isn't enough information here to get a clear picture of what you have going on in your policy.
Why does this configuration file only get updated on bootstrap? Is that desired?
My suspicion is that the file is not updated because it does not match def.input_name_patterns
. You could either configure def.input_name_patterns
, or you could rename your file to match one of the default patterns, for example .txt
, .conf
or possibly .mustache
(especially if you want to have the file rendered dynamically).
– Nick Anderson| Doer of Things | (+1) 785-550-1767 | https://northern.tech