Last active
May 22, 2017 13:39
-
-
Save danhart/2848586aaca21f574ac5d99d2b731647 to your computer and use it in GitHub Desktop.
Puppet 4 Serverless Ubuntu Xenial
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
# See here for how to create your Puppet 4 repo | |
# https://github.com/puppetlabs/r10k/blob/master/doc/dynamic-environments/quickstart.mkd#configure-puppet-code-repository | |
wget http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb | |
dpkg -i puppetlabs-release-pc1-xenial.deb | |
apt-get update && apt-get install puppet-agent | |
cd /etc/puppetlabs/code/environments/production && rm -rf * | |
git clone <your-repo> . | |
/opt/puppetlabs/puppet/bin/gem install r10k", | |
/opt/puppetlabs/puppet/bin/r10k puppetfile install | |
puppet apply -t site.pp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment