puppet-standalone-mashup/skel/debian/bootstrap.erb
2011-12-07 17:59:34 -05:00

17 lines
250 B
Plaintext

#!/bin/bash
if [ ! $UID -eq 0 ]; then
sudo $0
exit
fi
apt-get update
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get install -y rubygems1.8 puppet
apt-get remove -y puppet facter
gem install puppet --no-ri --no-rdoc
./apply
shutdown -r now