Permalink
Browse files

make sure the system is updated before installing puppet

  • Loading branch information...
1 parent b5b45d9 commit 962223ff0a8e42b147d73a17bd32d439c851f187 @tomcz committed Apr 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 fabfile.py
View
@@ -91,6 +91,7 @@ def setup_puppet_standalone():
with settings(warn_only=True):
result = run('puppet --version')
if result.failed:
+ sudo('yum -y update')
sudo('yum install -y puppet')
with settings(warn_only=True):
run("rm -f ec2-setup.tgz")

0 comments on commit 962223f

Please sign in to comment.