mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #12405 from ranl/salt_cloud_win
restart salt-minion after salt-cloud deployment on windows
This commit is contained in:
commit
4f0d00fa1c
@ -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,
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user