Pulling Strings With Puppet
I just received a new book the other day: Pulling Strings With Puppet by James Turnbull. I got turned on to Puppet as a server management tool recently and wanted to try it out. There is a lot of good information on the Puppet project page, but I wanted a book, that spelled things out in a logical order. So far, I’m liking the book, and would recommend it to anybody looking to get into using Puppet.
For those unfamiliar with Puppet, its a configuration management utility that’s cross platform. You can run a central server with a client on each machine to be managed or just run the client with a configuration file. It makes more sense to use a central server in most cases though, but the latter is good for bootstrapping your initial server install and configuration before you can install Puppet. Puppet is nice because it is cross platform in the Unix/Linux world.
You don’t need to specificially know how to do things on each platform. You tell Puppet what you want and it will do it for you. For example:
file {
"/etc/passwd":
owner => "root",
group => "root",
}
This sets ownership properties on the file /etc/passwd. You don’t need to know the commands to do so, just what you want the result to be. Its that simple.