Actions
Bug #4650
closedMultiline header is added at each run on managed files
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Every time Rudder edits a file it adds a header, but due to a cfengine bug (https://cfengine.com/dev/issues/1525) at each run it adds a new one ...
A simple workaround: modify the header parameter in the webapp (config management -> Parameters page) and put a simple one liner header : "### Managed by Rudder, edit with care
The title says it all. /etc/ntp.conf looks like this now:
############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ... repeated like a thousand times ... ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ### This file is protected by your Rudder infrastructure. ### ### Manually editing the file might lead your Rudder ### ### infrastructure to change back the server?s ### ### configuration and/or to raise a compliance alert. ### ############################################################# # /etc/ntp.conf fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift logfile /var/log/ntp.log server ntp.example.com
Actions