Created
May 25, 2012 19:02
-
-
Save nanliu/2789895 to your computer and use it in GitHub Desktop.
Install Puppet Opensource on 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
apt-key adv --recv-key --keyserver pool.sks-keyservers.net 4BD6EC30 | |
apt-get update | |
apt-get -y install lsb-release | |
distro=$(lsb_release -i | cut -f 2 | tr "[:upper:]" "[:lower:]") | |
release=$(lsb_release -c | cut -f 2) | |
cat > /etc/apt/sources.list.d/puppetlabs.list <<EOFAPTREPO | |
deb http://apt.puppetlabs.com/${distro}/ ${release} main | |
EOFAPTREPO | |
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