Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petems/puppet-install-shell

A shell script to install puppet on multiple distros
https://github.com/petems/puppet-install-shell

install-script puppet shell

Last synced: 28 days ago
JSON representation

A shell script to install puppet on multiple distros

Awesome Lists containing this project

README

        

puppet-install-shell
====================

![Acceptance Tests](https://github.com/petems/puppet-install-shell/actions/workflows/acceptance.yml/badge.svg)

A shell script to install puppet on multiple distros, assuming no dependencies.

The code is a mashup of [puppet-bootstrap](https://github.com/hashicorp/puppet-bootstrap) and [chef's install.sh script](https://www.getchef.com/chef/install.sh).

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:

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