Created
January 30, 2017 13:28
-
-
Save elliot-huffman/c11eed76aaa480a9c1e0f41abf7030da to your computer and use it in GitHub Desktop.
Automatically sets up the Puppetlabs repository for your platform.
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
#!/bin/bash | |
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-$(lsb_release -cs).deb | |
sudo dpkg -i puppetlabs-release-pc1-$(lsb_release -cs).deb | |
rm puppetlabs-release-pc1-$(lsb_release -cs).deb | |
sudo apt-get update | |
sudo apt-get install --only-upgrade puppetlabs-release-pc1 | |
sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment