Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 1016 Bytes

Install Puppet

Server

A quick one liner to install and configure Puppet Server on a RHEL / CentOS server. This assumes a FDQN host name and clean RHEL / CentOS build;

curl -fsS https://raw.githubusercontent.com/russmckendrick/puppet-install/master/install | bash

This script will not touch any firewall rules, to open up port 8140 on an EL7 server run;

firewall-cmd --permanent --zone=public --add-port=8140/tcp
systemctl restart firewalld.service

Agent

CentOS / RHEL

A quick one liner to install and configure a puppet agent. This assumes a FDQN host name and clean RHEL / CentOS build, make sure you pass the script the hostname of your Puppet Server at the end;

curl -fsS https://raw.githubusercontent.com/russmckendrick/puppet-install/master/agent | bash -s puppet.master.com

Ubuntu

A quick one liner to install and configure a puppet agent.

curl -fsS https://raw.githubusercontent.com/russmckendrick/puppet-install/master/ubuntu | bash
You can’t perform that action at this time.