Created
November 21, 2011 07:04
-
-
Save stojg/1381894 to your computer and use it in GitHub Desktop.
install puppet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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