# Update to Puppet Install Script

> Effortless deployment of Puppet on CentOS/RHEL? Check out my updated installation script and streamline your automation setup today!

- Canonical: https://www.russ.cloud/2015/07/12/update-to-puppet-install-script/
- Published: 2015-07-12
- Author: Russ McKendrick
- Tags: Automation, Linux, Tools

---

Around this time last year I blogged about [Upgrading my servers to CentOS 7](/2014/07/27/upgrading-my-servers-to-centos-7/), the post contained a link to a script which I wrote to deploy a Puppet Master & Agent and some updated instructions for installing on RHEL / CentOS 7.

As those instructions no longer work, and I needed to install a Puppet Master to have a play with I decided to update the installation script.

After a little reading it looks like installing a Puppet Master with Apache and Passenger is a little old fashioned since the release of [Puppet Server](https://puppetlabs.com/blog/puppet-server-bringing-soa-to-a-puppet-master-near-you).

The release of Puppet Server made it a lot easier to install a Puppet Master and also it allowed me merge the two scripts (one each for EL6 and EL7) into a single script.

The updated scripts can be found [in my GitHub account](https://github.com/russmckendrick/puppet-install) or to install Puppet Server you can run the following on either clean RHEL / CentOS 6 or 7 installation;

```bash frame="terminal" title="Update to Puppet Install Script 1/2"
curl -fsS https://raw.githubusercontent.com/russmckendrick/puppet-install/master/install | bash
```


and to install an agent;

```bash frame="terminal" title="Update to Puppet Install Script 2/2"
curl -fsS https://raw.githubusercontent.com/russmckendrick/puppet-install/master/agent | bash -s puppet.master.com
```


making sure to replace puppet.master.com with your freshly installed Puppet Server URL.

For more information please see the [README](https://github.com/russmckendrick/puppet-install/blob/master/README.md).
