Created
June 16, 2011 17:20
-
-
Save kenperkins/1029732 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
# Minimal Puppet Bootstrap script | |
sudo apt-get -y install rubygems libopenssl-ruby libaugeas-ruby | |
wget http://puppetlabs.com/downloads/gems/facter-1.5.7.gem | |
wget http://puppetlabs.com/downloads/gems/puppet-2.6.1.gem | |
sudo gem install facter-1.5.7.gem | |
sudo gem install puppet-2.6.1.gem | |
# Create symlinks for puppet into /usr/local/bin | |
for i in /var/lib/gems/1.8/bin/*; | |
do sudo ln -s $i /usr/local/bin/$(basename $i); | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment