Created
October 23, 2013 13:43
-
-
Save petems/7119028 to your computer and use it in GitHub Desktop.
Puppet Install through shell for Ubuntu
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
# 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