Skip to content

Commit

Permalink
Merge pull request #8 from jtand/cloud-logging-develop
Browse files Browse the repository at this point in the history
Fixed bug where logging_command wasn't set as key in a couple spots.
  • Loading branch information
Nicole Thomas committed Sep 18, 2015
2 parents 7d01221 + 79f4035 commit 3444c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/utils/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,15 +1095,15 @@ def deploy_windows(host,
logging_stop_cmd = 'winexe {0} "sc stop salt-minion"'.format(
logging_creds
)
win_cmd(stop_cmd, logging_stop_cmd)
win_cmd(stop_cmd, logging_command=logging_stop_cmd)

time.sleep(5)

start_cmd = 'winexe {0} "sc start salt-minion"'.format(creds)
logging_start_cmd = 'winexe {0} "sc start salt-minion"'.format(
logging_creds
)
win_cmd(start_cmd, logging_start_cmd)
win_cmd(start_cmd, logging_command=logging_start_cmd)

# Fire deploy action
fire_event(
Expand Down

0 comments on commit 3444c81

Please sign in to comment.