A shell script to install puppet on multiple distros
Shell Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Build Status

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.


$ ./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 < 3.8.X

$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet.sh | sudo sh

Puppet > 4.X

$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_agent.sh | sudo sh

Puppet > 5.X

$ wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_5_agent.sh | sudo sh

Running Acceptance Tests

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']