Created
May 16, 2017 12:52
-
-
Save BigAl/c9f8271b1cffda0f1b0d69a8055684ca to your computer and use it in GitHub Desktop.
Install puppet 4 CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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