Skip to content

petems/puppet-install-shell

Repository files navigation

puppet-install-shell

Acceptance Tests

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

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

About

A shell script to install puppet on multiple distros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages