Created
August 18, 2011 22:02
-
-
Save noomii/1155358 to your computer and use it in GitHub Desktop.
Hotfix bootstrap
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
yes | sudo aptitude install ruby | |
yes | sudo aptitude install rubygems | |
sudo gem install puppet -v 2.7.1 --no-ri --no-rdoc | |
cd /var/lib/gems/1.8/gems/puppet-2.7.1/ | |
sudo ./install.rb | |
cd /usr/local/ | |
sudo wget https://raw.github.com/gist/1154831/7459b804e94582fe6ea2a5baef2a8215f3cc839e/set_hostname.sh | |
sudo chmod u+x set_hostname.sh | |
sudo ./set_hostname.sh | |
sudo bash -c "echo '/usr/local/set_hostname.h' >> /etc/rc.local" | |
sudo aptitude install libshadow-ruby1.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment