Install puppet on ubuntu-cloud after the machine is set up

This commit is contained in:
Fabio Rehm 2013-03-04 19:31:40 -03:00
parent 776251c1d6
commit b06d755926

View file

@ -38,6 +38,7 @@ sed -i -e 's/%admin\s\+ALL=(ALL)\s\+ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
service sudo restart
sudo su vagrant -c "mkdir -p /home/vagrant/.ssh"
sudo su vagrant -c "curl -s -o /home/vagrant/.ssh/authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub"
sudo apt-get install -y puppet
EOF
}