D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Server Conf + VCS - Bad Idea?

 

On 02/11/13 19:01, Gibbs wrote:
I work in web development and will have to migrate all of our websites to a new dedicated server at some point (I've been meaning to do this for ages). This has naturally got me thinking about different approaches to managing things, one of them the idea of using a VCS for managing config files.

As things stand we SSH in, make changes/additions and most of the time none of us break things :). The VCS idea that has been floating around in my head goes something like this:
  • Most devs are familiar with a VCS like Git
  • Changes are done locally (unfortunately I am the only Linux user)
  • Changes have to be pushed then pulled giving time to review changes
  • Obviously version control
  • Easier for everything to be reviewed on multiple OS's
  • Possibly a more streamlined approach

This would only apply to things such as Apache virtual hosts, BIND zones and important core services.

Now all I need to know is why that is a horribly bad idea or why I have never bothered to consider the issue before!

Cheers,

Gibbs



Its an idea I play with all the time but you ideally need some form of transaction safe method of version control - I'm guessing you need more than 1 file changed at a time? So you do the file updates/backtracks and then need to run a script to do renames?
Tom te tom te tom
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq