User story #2066
closedCFEngine should use a file repository to store all backup copies of edited/copied files
Description
See http://cfengine.com/manuals/cf3-reference.html#default_005frepository-in-agent. We should set this by default in our policy, to use /var/rudder/modified-files.
To make this the most efficient possible, please also check that our copy_from and edit_defaults bodies have copy_backup and edit_backup set to "timestamp" ( not just "true" ). See http://cfengine.com/manuals/cf3-reference.html#edit_005fdefaults-in-files.
This combination will cause any files that are edited to first be saved - for example, if modifying /etc/sudoers today, the original will be saved in something like /var/rudder/modified-files/_etc_sudoers.cfsaved.20111122134500.
Updated by Nicolas CHARLES about 13 years ago
- Status changed from 2 to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:d18899b8eb63e12be543283d0412f031b5f65b64.
Updated by Jonathan CLARKE about 13 years ago
- Status changed from Pending technical review to In progress
Technical review: looks good to me for main PT, but initial promises need updating too.
Updated by Nicolas CHARLES about 13 years ago
- Status changed from In progress to Pending technical review
Applied in changeset commit:a0299e112bb3e9ced92b285f4f42ebfbd27c9ded.
Updated by Jonathan CLARKE about 13 years ago
- Status changed from Pending technical review to 10
Updated by Jonathan CLARKE about 13 years ago
- Status changed from 10 to Released
Updated by Benoît PECCATTE over 9 years ago
- Category changed from 14 to Web - Config management