Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Pull in a bootstrap script to bootstrap Puppet on a test VM
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Croy committed Jun 17, 2012
1 parent 375c4fb commit 0225789
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions features/support/bootstrap.sh
@@ -0,0 +1,15 @@
#!/bin/sh -x

export PATH=/var/lib/gems/1.8/bin:$PATH

which puppet
if [ $? -ne 0 ]; then
apt-get update
apt-get install -y ruby1.8 \
ruby1.8-dev \
libopenssl-ruby1.8 \
rubygems
gem install puppet --no-ri --no-rdoc
fi

puppet apply --verbose --modulepath=./modules site.pp

0 comments on commit 0225789

Please sign in to comment.