Created
December 22, 2016 17:18
-
-
Save andreyev/c62a763bc5fd380ac0b44097be3147ae to your computer and use it in GitHub Desktop.
scripts
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 | |
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb | |
dpkg -i puppetlabs-release-pc1-trusty.deb | |
apt-get update | |
apt-get -q -y install puppet-agent \ | |
&& echo "[main]" > /etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "server=puppet.adtsys.com.br" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "environment=adtsys_createcloudinfra" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "certname=srv-app-aws.adtsys.com.br-$(date +%s)" >>/etc/puppetlabs/puppet/puppet.conf | |
/opt/puppetlabs/bin/puppet agent -t |
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 | |
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb | |
dpkg -i puppetlabs-release-pc1-trusty.deb | |
apt-get update | |
apt-get -q -y install puppet-agent \ | |
&& echo "[main]" > /etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "server=puppet.adtsys.com.br" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "environment=adtsys_createcloudinfra" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "certname=srv-db-aws.adtsys.com.br-$(date +%s)" >>/etc/puppetlabs/puppet/puppet.conf | |
/opt/puppetlabs/bin/puppet agent -t |
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 | |
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb | |
dpkg -i puppetlabs-release-pc1-trusty.deb | |
apt-get update | |
apt-get -q -y install puppet-agent \ | |
&& echo "[main]" > /etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "server=puppet.adtsys.com.br" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "environment=adtsys_createcloudinfra" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "certname=srv-app-google.adtsys.com.br-$(date +%s)" >>/etc/puppetlabs/puppet/puppet.conf | |
/opt/puppetlabs/bin/puppet agent -t |
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 | |
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb | |
dpkg -i puppetlabs-release-pc1-trusty.deb | |
apt-get update | |
apt-get -q -y install puppet-agent \ | |
&& echo "[main]" > /etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "server=puppet.adtsys.com.br" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "environment=adtsys_createcloudinfra" >>/etc/puppetlabs/puppet/puppet.conf \ | |
&& echo "certname=srv-db-google.adtsys.com.br-$(date +%s)" >>/etc/puppetlabs/puppet/puppet.conf | |
/opt/puppetlabs/bin/puppet agent -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment