Puppet installation on Debian Lenny

Here is the easiest way of getting latest puppet installed on Lenny when you start from scratch:

First install puppet from gem. You need to have Ruby and RubyGems for it, more here

Install puppet gem:

user@computer:$ gem install puppet

The important bit starts here, create puppet user:

user@computer:$ puppetd --mkusers --no-daemonize -v
notice: /Group[puppet]/ensure: created
notice: /User[puppet]/ensure: created
info: Creating a new SSL key for ip-10-48-10-97.eu-west-1.compute.internal
err: Could not request certificate: getaddrinfo: Name or service not known
Cancelling startup

this will start puppetd in no daemon mode which will allow you to see that user and group has been created, you can exit by Ctrl+C. Don’t worry about err message, not important here.

Now you are ready to be master of puppets :)

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit