Skip to content

Instantly share code, notes, and snippets.

@oesmith
Created June 28, 2011 12:05
Show Gist options
  • Save oesmith/1050999 to your computer and use it in GitHub Desktop.
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
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
@oesmith
Copy link
Author

oesmith commented Jun 28, 2011

Quickly install puppet:

wget -O - https://raw.github.com/gist/1050999/0a269242c9cc9961094fe69136c228b7227d7fe2/puppet-install.sh | sh

@hamsolodev
Copy link

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.

@hamsolodev
Copy link

done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment