mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #15254 from saltstack/bp-15030
Backport #15030 to 2014.7
This commit is contained in:
commit
5595b10661
@ -120,6 +120,11 @@ def get_config(name, region=None, key=None, keyid=None, profile=None):
|
|||||||
_tag['propagate_at_launch'] = tag.propagate_at_launch
|
_tag['propagate_at_launch'] = tag.propagate_at_launch
|
||||||
_tags.append(_tag)
|
_tags.append(_tag)
|
||||||
ret['tags'] = _tags
|
ret['tags'] = _tags
|
||||||
|
# Boto accepts a string or list as input for vpc_zone_identifier,
|
||||||
|
# but always returns a comma separated list. We require lists in
|
||||||
|
# states.
|
||||||
|
elif attr == 'vpc_zone_identifier':
|
||||||
|
ret[attr] = getattr(asg, attr).split(',')
|
||||||
# convert SuspendedProcess objects to names
|
# convert SuspendedProcess objects to names
|
||||||
elif attr == 'suspended_processes':
|
elif attr == 'suspended_processes':
|
||||||
suspended_processes = getattr(asg, attr)
|
suspended_processes = getattr(asg, attr)
|
||||||
|
Loading…
Reference in New Issue
Block a user