On Tuesday, April 2, 2013 8:42:28 PM UTC+2, Dale Worley wrote:

> > From: Thomas Ferris Nicolaisen <tfn...@gmail.com <javascript:>> 
> > 
> > Dale, from my perspective it's fairly obvious that a tool like Puppet, 
> > Chef, or CFEngine is the way to go about here. 
> Those look way too heavy-weight for me.  

Well, puppet can be pretty simple:

> sudo apt-get install puppet

Now edit my-machine.pp to contain the following:

include foo

class foo {
    file { "/etc/foo":
        ensure => directory,
        owner  => 'root',
        group  => 'root',
        mode   => '0755',

Now do:

> sudo puppet apply my-machine.pp

Voila, /etc/foo has been created with the correct permissions.

Apart from creating directories, it can easily:

* modify permissions and ownership on any existing files
* install packages
* run shell-scripts
* start/stop services
* copy in files (supports templates)
* create users, groups and handle them

Of course you can make it very enterprisey if you want, but basically the 
above is enough to customize your regular linux boxes to your demands.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to