Merge branch '2016.11' into '2017.7'

Conflicts:
  - salt/modules/archive.py
This commit is contained in:
rallytime 2017-10-30 17:05:02 -04:00
commit 9bad04b94b
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
source "https://rubygems.org"
gem "test-kitchen"
gem "kitchen-salt", :git => 'https://github.com/gtmanfred/kitchen-salt.git'
gem "kitchen-salt", :git => 'https://github.com/saltstack/kitchen-salt.git'
gem 'git'
group :docker do

View file

@ -444,8 +444,9 @@ def stop(name):
try:
win32serviceutil.StopService(name)
except pywintypes.error as exc:
raise CommandExecutionError(
'Failed To Stop {0}: {1}'.format(name, exc[2]))
if exc[0] != 1062:
raise CommandExecutionError(
'Failed To Stop {0}: {1}'.format(name, exc[2]))
attempts = 0
while info(name)['Status'] in ['Running', 'Stop Pending'] \