Skip to content

Instantly share code, notes, and snippets.

@petems
Created January 3, 2016 03:16
Show Gist options
  • Save petems/6723c2eedb9d32d7ad97 to your computer and use it in GitHub Desktop.
Save petems/6723c2eedb9d32d7ad97 to your computer and use it in GitHub Desktop.
Purge old Ubuntu Puppet
## in case an older version of puppet is installed, remove it
apt-get purge puppet -y
rm /etc/puppet -rf
apt-get autoremove -y
apt-get install wget
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-wheezy.deb
dpkg -i puppetlabs-release-pc1-wheezy.deb
apt-get update
# install new puppet agent now...
apt-get install puppet-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment