Merge pull request #12405 from ranl/salt_cloud_win

restart salt-minion after salt-cloud deployment on windows
This commit is contained in:
Joseph Hall 2014-04-30 08:32:39 -06:00
commit 4f0d00fa1c

View File

@ -858,6 +858,9 @@ def deploy_windows(host,
creds,
))
# Shell out to winexe to ensure salt-minion service started
win_cmd('winexe {0} "sc stop salt-minion"'.format(
creds,
))
win_cmd('winexe {0} "sc start salt-minion"'.format(
creds,
))