Skip to content

Instantly share code, notes, and snippets.

@noomii
Created August 18, 2011 22:02
Show Gist options
  • Save noomii/1155358 to your computer and use it in GitHub Desktop.
Save noomii/1155358 to your computer and use it in GitHub Desktop.
Hotfix bootstrap
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