-
-
Save unusorin/74eadb4096c2d3ed3dc1 to your computer and use it in GitHub Desktop.
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/sh | |
AGENT_URL=http://puppetlabs.com/downloads/puppet/puppet-2.7.14.tar.gz | |
FACTER_URL=http://puppetlabs.com/downloads/facter/facter-1.6.9.tar.gz | |
apt-get update | |
apt-get -y install ruby rake rubygems | |
cd /tmp | |
wget ${FACTER_URL} -O /tmp/facter.tar.gz | |
tar zxf facter.tar.gz | |
cd facter-* | |
ruby install.rb | |
cd /tmp | |
wget ${AGENT_URL} -O /tmp/puppet.tar.gz | |
tar zxf puppet.tar.gz | |
cd puppet-* | |
ruby install.rb | |
rm -rf /tmp/facter.tar.gz | |
rm -rf /tmp/puppet.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment