Skip to content

Instantly share code, notes, and snippets.

@petems
Created October 23, 2013 13:43
Show Gist options
  • Save petems/7119028 to your computer and use it in GitHub Desktop.
Save petems/7119028 to your computer and use it in GitHub Desktop.
Puppet Install through shell for Ubuntu
# Pick your poison http://apt.puppetlabs.com/pool/lucid/main/p/puppet/
PUPPET_COMMON_VERSION=3.1.1-1puppetlabs1
HIERA_VERSION=1.1.2-1puppetlabs1
echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf
echo 'APT::Get::AllowUnauthenticated "true";' >> /etc/apt/apt.conf
echo 'deb http://apt.puppetlabs.com precise main' > /etc/apt/sources.list.d/puppetlabs.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 4BD6EC30
apt-get update && apt-get upgrade -qq -d --reinstall
apt-get install -qq --reinstall puppet-common=$PUPPET_COMMON_VERSION hiera=$HIERA_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment