/ #CentOS #DevOps 

More Puppet

I have been playing my Digital Ocean server a lot recently. Breaking it, fixing it and then rebuilding it, while I had documented my puppet installation it was getting to be a pain to copy and paste with each rebuild, so I pulled together a few scripts from various sources to make the rebuilds a little less of a chore. To install fresh Puppet Master all I need to do now is run the following command;

curl -fsS <a href="https://raw2.github.com/russmckendrick/puppet-install/master/install" target="_blank" data-href="https://raw2.github.com/russmckendrick/puppet-install/master/install">https://raw2.github.com/russmckendrick/puppet-install/master/install</a> | bash

and to install an agent run;

curl -fsS <a href="https://raw2.github.com/russmckendrick/puppet-install/master/agent" target="_blank" data-href="https://raw2.github.com/russmckendrick/puppet-install/master/agent">https://raw2.github.com/russmckendrick/puppet-install/master/agent</a> | bash -s puppet.master.com

Finally I have put moved a non-personalised copy of my main Puppet configuration into a GitHub repo.

Author

Russ McKendrick

Buys way too many vinyl records, writes a lot about Docker & loves orchestration. Works at @node4ltd / @n4stack has written for @PacktPublishing