When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs Show archive.org snapshot . They give you a handy introduction inside a virtual machine they provide. You can watch the talk by Garrett Honeycutt 'Expanded Introduction to Puppet' Show archive.org snapshot .
Do not miss their cheatsheat Show archive.org snapshot and their learn-puppet virtual machine Show archive.org snapshot .
#Installation and basic configuration
- on Ubuntu Linux:
sudo apt-get install puppet
, then follow this guide Show archive.org snapshot starting at "Creating a Puppet configuration" - on Mac OS X:
sudo gem install puppet
, then follow these instructions Show archive.org snapshot starting at step 5 (replace thehttp
withhttps
in the Gist link). - connect the clients (aka agents) to the server (aka puppetmaster) following these instructions Show archive.org snapshot
- add
pluginsync = true
to the[main]
section of puppet.conf on the clients and the server
#Important
-
sudo
all the time! If you connect an agent to the puppetmaster once without usingsudo
and later try to connect usingsudo
, you won’t be able because the certificate does not match the private key. Delete all certificates for this agent on the puppetmaster and remove the agent’s~/.puppet/ssh
; now connect again usingsudo
.
Posted by Dominik Schöler to makandra dev (2011-05-12 10:11)