You are not logged in.

#1 2009-10-12 22:36:04

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Configuration Management with push?

Are there any configuration management tools with a 'push' functionality? I want to have one central server that holds a tree of files I specify for other servers (eg, /etc/resolv.conf. rc.conf etc) and when I change the file on the central server, I can issue one command to 'push' the changes out to the remote server without having to login and manually pull it in.

Offline

#2 2009-10-13 00:08:58

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Configuration Management with push?

I must be missing something.  Why not a little shell script using scp/rsync with keys?

Though I am one to talk, I use git for this :-)

Offline

#3 2009-10-13 00:09:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Configuration Management with push?

keenerd wrote:

Why not a little shell script using scp/rsync with keys?

Cause I hate reinventing the wheel wink

If something already exists, I'd like to investigate it first before putting together my own little hacky solution.

Last edited by fukawi2 (2009-10-13 00:10:23)

Offline

#4 2009-10-13 01:11:16

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Configuration Management with push?

Go for git.  Pushing is not set up out of the box.  You need to attach a hard reset to the push hook, then it works the way you'd expect.

See the Git FAQ for full details.

As an added bonus, version control and distributed backups for free!

Offline

#5 2009-10-13 12:43:38

gog
Member
Registered: 2009-10-13
Posts: 103

Re: Configuration Management with push?

Or use the FHS and mount /usr as netfs.

That would require recompiling most packages so they use /usr/etc, but still.

Offline

#6 2009-10-13 21:55:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Configuration Management with push?

gog wrote:

Or use the FHS and mount /usr as netfs.

That would require recompiling most packages so they use /usr/etc, but still.

Not feasible when some of my servers are in Atlanta, GA...  Some in Melbourne, AU and some in Europe tongue

Using git seems like pushing a round peg in an oval hole, but maybe the best solution. I've found 'cfengine' while looking into this which kind of seems like what I'm after, but also seems very complicated too hmm

Offline

Board footer

Powered by FluxBB