On Tue, Jun 14, 2011 at 7:47 AM, puppeter <puppeter@centrum.cz> wrote:
> Hi people,
> I have a quite interesting problem here. We are using Puppet for
> deploying configuration files (among others) and GIT for keeping
> version history of templates. But now we got a request to keep also
> history of files that are already interpreted and deployed. Does
> somebody have an idea how to collect such files?
>
the filebucket can be used to centrally store any files that puppet changes.
> In fact, we are asked to keep history of configurations across all our
> Linux systems with a possibility to roll back to some previous state.
>
In general, I consider rollback to be a dirty word. Its something that looks
great as a bullet point, but quickly falls apart when you start to think
about all of the technical implementations. For example, how do you roll
back a service restart, how do you revert the state of you application data?
> Taking a copy from backup does not make the trick. We are in state of
> defining requirements so I''m looking for some prepared solution.
>
The best solutions is probably to write a catalog terminus that stores
historical versions of your catalog. The only trick to it is that you would
have to write some code that can do diffs between catalogs (so that you only
store catalogs that are different from the last version). Although you could
store this history, it is unlikely that you would be able to rollback any
machines from these catalogs. It would be more reasonable to build new
machines and get them into the running state by applying the old catalogs.
> Thanks in advance!
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.