Created
April 17, 2013 15:02
-
-
Save markedagain/5405027 to your computer and use it in GitHub Desktop.
ubuntu install latest agent on clone device
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
#sed -i "s/old_host_name/new_host_name/g" /etc/hosts | |
#sed -i "s/old_host_name/new_host_name/g" /etc/hostname | |
#hostname new_host_name | |
#reboot now #for changes to take affect | |
# | |
grep puppet /etc/hosts; [ $? -eq 1 ] && echo "192.168.1.128 puppet" >> /etc/hosts | |
#ping puppet #test | |
# | |
apt-get update | |
apt-get dist-upgrade -y | |
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb | |
dpkg -i puppetlabs-release-precise.deb | |
apt-get update -y | |
apt-get install puppet -y | |
rm puppetlabs-release-precise.deb | |
puppet help | |
#puppet agent --test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment