Last active
March 3, 2018 08:35
-
-
Save Sher-Chowdhury/7c31aab40d2fe3d3b73284065d3d5676 to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
yum install -y wget | |
yum install -y epel-release | |
yum install -y jq | |
yum install -y vim | |
cd /root | |
wget -O - https://downloads.puppetlabs.com/puppetlabs-gpg-signing-key.pub | gpg --import | |
curl -L -o pe-latest.tgz 'https://pm.puppetlabs.com/cgi-bin/download.cgi?dist=el&rel=7&arch=x86_64&ver=latest' | |
tar -xf pe-latest.tgz | |
wget https://gist.githubusercontent.com/Sher-Chowdhury/d402b0a1267cc6ae767b86b710ec4fe3/raw/86b0a4a78be833dc4eaf1a4c77fa4994b07945ef/pe.conf | |
cd /root/puppet-enterprise* | |
./puppet-enterprise-installer -c /root/pe.conf > /root/pe-install-result.log | |
/opt/puppetlabs/bin/puppet agent -t | |
/opt/puppetlabs/bin/puppet agent -t | |
/opt/puppetlabs/bin/puppet module install puppet-zabbix | |
/opt/puppetlabs/bin/puppet agent -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment