I want to make a central config file repository so that I can have the changes to any config under revision control (Mercurial). This will include some GNU/Linux boxes (which will use etckeeper), the network equipment's config files, printer's config files and last but not least, windows configs.
I know you can import some configurations like ISA's and DHCPs as text/xml files and even shared folders as a registry key, but for stuff like GPOs and AD, IIS, MSSql and others, are there ways to get the configs as flat files? Basically, can you have something somewhat equivalent to etckeeper under windows? Something like some powershell based commands or the like?
Also, can ACLs and other file permissions be preserved under version control (hg)?
BTW, I've already read
- What solutions exist to allow the use of revision control for server configuration files?
- What tool do you recommend to track changes on a Linux/Unix server
to no avail.
Unfortunately there's no free all-in-one solution for what you want, but combined with a CMS, safely redundant storage, and/or software versioning (such as Mercurial, Git, or Subversion), you can roll your own. And all of this should be scriptable!
– gWaldo Aug 26 '10 at 12:13Have you ever setup anything like what you described? Can you give me some pointers?
– Aug 27 '10 at 11:50I would normally advocate incorporating the date/timestamp into the filename, however this doesn't matter as much if you're rolling everything up into Version Control.
– gWaldo Aug 27 '10 at 12:22