bucketing all changed files

25 views
Skip to first unread message

Robert Reilly

unread,
Apr 21, 2014, 5:37:46 PM4/21/14
to puppet...@googlegroups.com
Hey all, Is there a existing way to bucket all changes ? This works great for the file type, but would be great when modifying the passwd or shadow file with the user type. I have searched on this topic but not found anything, maybe my search terms are wrong... It would be even better if i could check the files into a revisioning system.

Thanks !
Robert 

jcbollinger

unread,
Apr 22, 2014, 9:05:05 AM4/22/14
to puppet...@googlegroups.com


On Monday, April 21, 2014 4:37:46 PM UTC-5, Robert Reilly wrote:
Hey all, Is there a existing way to bucket all changes ? This works great for the file type, but would be great when modifying the passwd or shadow file with the user type. I have searched on this topic but not found anything, maybe my search terms are wrong... It would be even better if i could check the files into a revisioning system.


Puppet does not provide a mechanism to do what you ask, and it is unlikely ever to do.  In principle, however, you could indeed put your whole file system under version control, and make Puppet commit changes either before or after every run, or both.  Of course, that would catch changes made other than via Puppet, too.

Alternatively, you could use a filesystem or device that supports snapshotting.  LVM, for example.  That would be more work up front, but a lot lighter-weight at snapshot-time.


John

Robert Reilly

unread,
Apr 22, 2014, 10:51:41 AM4/22/14
to puppet...@googlegroups.com
Thanks for the reply, That is the conclusion i came to but did not want to reinvent if it already existed. I like the fs snapshot idea, i will look into that further.
Thanks !
Robert
Reply all
Reply to author
Forward
0 new messages