Skip to content

Instantly share code, notes, and snippets.

@BigAl
Created May 16, 2017 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigAl/c9f8271b1cffda0f1b0d69a8055684ca to your computer and use it in GitHub Desktop.
Save BigAl/c9f8271b1cffda0f1b0d69a8055684ca to your computer and use it in GitHub Desktop.
Install puppet 4 CentOS
#!/bin/sh
echo "*****************************************"
echo " Installing puppet"
echo "*****************************************"
RELEASEVER=$(rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release))
yum install -y https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${RELEASEVER}.noarch.rpm
yum install -y puppet-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment