A short talk I gave at the first Puppet User Group in London about three tools I made to make my Puppet life easier:
* puppet-install-shell
* vagrant-puppet-install
* puppet-doc-lint
9. · Shell (not bash!) script
· Installs Puppet on (most!) Unix flavour
machines
· Plan to support all platforms officially
supported by Puppet (https://
docs.puppetlabs.com/guides/platforms.html)
· Currently supports EL, Fedora, Debian, Ubuntu,
OSX and Arch!
22. Vagrant.configure("2") do |config|
config.vm.define :ubuntu do |ubuntu|
ubuntu.puppet_install.puppet_version = '3.6.1'
ubuntu.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
ubuntu.vm.provision :puppet do |puppet|
puppet.manifests_path = File.expand_path('../../../support/manifests', __FILE__)
puppet.manifest_file = "base.pp"
end
ubuntu.vm.provision "shell", inline: "puppet --version"
end
23. Niceandsimple...
· Checks the version you've defined is valid (from
RubyGems.org...)
· Rsyncs or downloads a script that installs
puppet (uses puppet-install-shell script by
default!)
· Standard error handling and catching
· Windows support soon!
26. Puppet-doc-lint
· Tool for module maintainers
· Looks through your Puppet documentation and
shows when you have undocumented
parameters
· Or documentation on parameters that are now
missing
29. @electrical (Richard Pijnenburg) is my
current ginea pig!
He's been using it for logstash Puppet
module
It's helped him, so it's helped at least 1 person! :)