Mohamed Lrhazi wrote:
For each change to production systems, one has to submit a script
detailing what changes will be made and how to revert them back.. I
was wondering if any of you, who implemented something similar, would
care to share how they did it.
There is no such thing as rollback.
File content is just a small part of what puppet classes generally do.
Average module if coded properly will include number of operations
like starting/configuring services, cron jobs, editing files,
installing packages, etc. and I think the only way to satisfy that
average change control 'revert'