Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcoleong/5573628 to your computer and use it in GitHub Desktop.
Save marcoleong/5573628 to your computer and use it in GitHub Desktop.
#/bin/bash
# run bash <(curl -sS https://gist.github.com/marcoleong/5573628/raw)
# author: Marco Leong (marcoleong at Github)
cd /tmp
echo "Downlaoding http://apt.puppetlabs.com/puppetlabs-release-precise.deb..."
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
echo "Installing puppetlabs-release-precise.deb"
sudo dpkg -i puppetlabs-release-precise.deb
echo "Update APT..."
sudo apt-get update
echo "Install Puppet Agent"
sudo apt-get install puppet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment