Skip to content

Instantly share code, notes, and snippets.

@hsnodgrass
Last active January 8, 2020 02:11
Show Gist options
  • Save hsnodgrass/9527636c1b499e19c9c250954e1a78eb to your computer and use it in GitHub Desktop.
Save hsnodgrass/9527636c1b499e19c9c250954e1a78eb to your computer and use it in GitHub Desktop.
Install puppet enterprise master on CentOS 7
#!/bin/bash
wget --content-disposition 'https://pm.puppet.com/cgi-bin/download.cgi?dist=el&rel=7&arch=x86_64&ver=latest'
PACKAGE=$(ls ./ | grep puppet-enterprise-*.tar.gz)
tar -xf $PACKAGE
cd $(echo $PACKAGE | sed -e 's/.tar.gz//g')
if [ -z "$1" ]; then
source puppet-enterprise-installer
else
source puppet-enterprise-installer -c $1
puppet agent -t
puppet agent -t
fi
@jessereynolds
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment