mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #27309 from rallytime/fix-15514
Change a value list to a comma-separated string in boto_route53.present
This commit is contained in:
commit
bd3771e80f
@ -126,6 +126,11 @@ def present(
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
|
||||
# If a list is passed in for value, change it to a comma-separated string
|
||||
# So it will work with subsequent boto module calls and string functions
|
||||
if isinstance(value, list):
|
||||
value = ','.join(value)
|
||||
|
||||
record = __salt__['boto_route53.get_record'](name, zone, record_type,
|
||||
False, region, key, keyid,
|
||||
profile)
|
||||
|
Loading…
Reference in New Issue
Block a user