Created
June 28, 2011 12:05
-
-
Save oesmith/1050999 to your computer and use it in GitHub Desktop.
Install Puppet 2.6.2 from lenny-backports on Ubuntu 10.04 LTS
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
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 |
Nice! We should get a bit more of a shell script going which we can pass as user-data
to newly created instances. Needn't be very complicated–run an update
and dist-upgrade
, then install puppet from backports as above–just enough to bootstrap the puppet install so it can talk to the puppet master.
done!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quickly install puppet: