Thursday, January 27, 2011

Putting /etc under source control

I would like to put my /etc directory iunder source control using bazaar.

Are there any gotchas in doing this. It seems safer to do it user an ordinary user rather than root - might there a be a problem with .bzr belonging to such a user.

  • You should look at using etckeeper, instead of trying to reinvent the wheel.

    justintime : Looks promising, I had to google to findo ut how to use it . Is there a pointer to a guide to setting it up.
    Graeme Donaldson : I haven't used it personally, sorry. See if anything here helps: http://serverfault.com/search?q=etckeeper
  • Here's a way using SVN and cron to manage /etc. I suppose it could be adapted.

    From Chris Nava
  • Could be overkill for a single system (unless you need to 'rebuild' it from time to time) but the usual solution for configuration management is to use some tool like cfEngine, Puppet, or the like, and then put their data under source control.

    From Luke404

0 comments:

Post a Comment