Skip to content

Instantly share code, notes, and snippets.

@stojg
Created November 21, 2011 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stojg/1381894 to your computer and use it in GitHub Desktop.
Save stojg/1381894 to your computer and use it in GitHub Desktop.
install puppet
#!/bin/bash
# cd /tmp/ && wget https://raw.github.com/gist/1381894/install-puppet.sh && bash ./install-puppet.sh
sudo apt-get install libopenssl-ruby rdoc libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 rdoc1.8 ruby1.8
cd /tmp/
wget http://downloads.puppetlabs.com/facter/facter-1.5.7.tar.gz
tar xvzf facter-1.5.7.tar.gz
cd facter-1.5.7
sudo ruby install.rb
cd ..
rm -rf facter*
wget http://downloads.puppetlabs.com/puppet/puppet-2.7.5.tar.gz
tar xvzf puppet-2.7.5.tar.gz
cd puppet-2.7.5
sudo ruby install.rb
cd ..
rm -rf puppet
sudo puppet --version
sudo facter --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment