Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
first put does not need sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedetto Lo Giudice committed Apr 17, 2015
1 parent 34325b7 commit aa96e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap_cfn/fab_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def install_master():
if not os.path.isfile(mojscript):
print "ERROR: Cannot find the moj-bootstrap.sh script in bootstrap-cfn/scripts in your virtualenv"
sys.exit(1)
put(mojscript, '/tmp', use_sudo=True)
put(mojscript, '/tmp')
sudo('chmod 755 /tmp/moj-bootstrap.sh')
sudo('/tmp/moj-bootstrap.sh')

Expand Down

0 comments on commit aa96e96

Please sign in to comment.