mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge branch '2017.7' into '2018.3'
No conflicts.
This commit is contained in:
commit
a0cfbdcb79
3 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
<% vagrant = system('gem list -i kitchen-vagrant 2>/dev/null >/dev/null') %>
|
||||
<% version = '2017.7.6' %>
|
||||
<% version = '2017.7.8' %>
|
||||
<% platformsfile = ENV['SALT_KITCHEN_PLATFORMS'] || '.kitchen/platforms.yml' %>
|
||||
<% driverfile = ENV['SALT_KITCHEN_DRIVER'] || '.kitchen/driver.yml' %>
|
||||
<% verifierfile = ENV['SALT_KITCHEN_VERIFIER'] || '.kitchen/verifier.yml' %>
|
||||
|
|
|
@ -1313,6 +1313,13 @@ class LocalClient(object):
|
|||
if raw['data']['return'] == {}:
|
||||
continue
|
||||
|
||||
# if the minion throws an exception containing the word "return"
|
||||
# the master will try to handle the string as a dict in the next
|
||||
# step. Check if we have a string, log the issue and continue.
|
||||
if isinstance(raw['data']['return'], six.string_types):
|
||||
log.error("unexpected return from minion: %s", raw)
|
||||
continue
|
||||
|
||||
if 'return' in raw['data']['return'] and \
|
||||
raw['data']['return']['return'] == {}:
|
||||
continue
|
||||
|
|
|
@ -96,7 +96,7 @@ class EC2Test(ShellCase):
|
|||
id_ = config[profile_str][PROVIDER_NAME]['id']
|
||||
key = config[profile_str][PROVIDER_NAME]['key']
|
||||
key_name = config[profile_str][PROVIDER_NAME]['keyname']
|
||||
sec_group = config[profile_str][PROVIDER_NAME]['securitygroup']
|
||||
sec_group = config[profile_str][PROVIDER_NAME]['securitygroupname'][0]
|
||||
private_key = config[profile_str][PROVIDER_NAME]['private_key']
|
||||
location = config[profile_str][PROVIDER_NAME]['location']
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue