Archive

Archive for the ‘Sarge’ Category

How to Install Puppet on Debian Sarge

July 9th, 2007 Comments off

I had trouble finding clear instructions on installing Puppet onto Debian Sarge, so I thought I’d document how I did it.

First, install all the Ruby stuff:

aptitude install irb1.8 libreadline-ruby1.8 libruby libruby1.8 rdoc1.8  ruby ruby1.8 ruby1.8-dev  libopenssl-ruby1.8

Then, install RubyGems. The latest version can be found here: http://rubyforge.org/frs/?group_id=126

Set an environment variable for your proxy ( if required ):
export http_proxy=”http://user:password@proxy.host.com:8080/”
Next, download and install RubyGems:

wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar xzf rubygems-0.9.4.tgz
cd rubygems-0.9.4
ruby setup.rb

Finally, we can install puppet (after updating RubyGems):

gem update
gem install -b puppet

It’s pretty straight forward really. Although it would be easier with aptitude install puppet, but hey, you can’t have everything.

These sites where helpful getting Puppet installed.

Categories: Puppet, Ruby, Sarge, SysAdmin Tags: