Skip to content

Instantly share code, notes, and snippets.

@RichGuk
Forked from oesmith/puppet-install.sh
Created September 26, 2011 08:05
Show Gist options
  • Save RichGuk/1241824 to your computer and use it in GitHub Desktop.
Save RichGuk/1241824 to your computer and use it in GitHub Desktop.
Install Puppet 2.6.2 from lenny-backports on Ubuntu 10.04 LTS
cat > /etc/apt/preferences.d/backports <<EOF
Package: puppet puppet-common puppetmaster facter
Pin: release a=lenny-backports
Pin-Priority: 900
EOF
cat > /etc/apt/sources.list.d/backports.list <<EOF
deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free
EOF
apt-key adv --keyserver hkp://subkeys.pgp.net --recv-keys AED4B06F473041FA
apt-get update
apt-get -y install puppet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment