A shell script to install puppet on multiple distros, assuming no dependencies.
The code is a mashup of puppet-bootstrap and chef's install.sh script.
Usage
$ ./puppet.sh [-p] [-v version] [-f filename | -d download_dir]
Defaults to latest available as a version if none is given.
Currently working on: Debian, CentOS.
A quick way to install after carefully looking at the source:
Puppet > 5.X
$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_5_agent.sh | sudo sh
Puppet > 6.X
$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_6_agent.sh | sudo sh
Puppet > 7.X
$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_7_agent.sh | sudo sh
Pick an Operating System then run the rake helper:
bundle exec rake acceptance:suite_on_nodeset['centos-6-docker']
bundle exec rake acceptance:suite_on_nodeset['centos-7-docker']
bundle exec rake acceptance:suite_on_nodeset['ubuntu-1404-docker']
bundle exec rake acceptance:suite_on_nodeset['ubuntu-1604-docker']
bundle exec rake acceptance:suite_on_nodeset['debian-8-docker']