mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Always use a string for the keyname
This commit is contained in:
parent
d95a626739
commit
accf308589
@ -86,17 +86,17 @@ def keyname(vm_):
|
||||
'''
|
||||
Return the keyname
|
||||
'''
|
||||
return vm_.get('AWS.keyname', __opts__.get('AWS.keyname', ''))
|
||||
return str(vm_.get('AWS.keyname', __opts__.get('AWS.keyname', '')))
|
||||
|
||||
|
||||
def securitygroup(vm_):
|
||||
'''
|
||||
Return the keyname
|
||||
'''
|
||||
return vm_.get(
|
||||
return str(vm_.get(
|
||||
'AWS.securitygroup',
|
||||
__opts__.get('AWS.securitygroup', 'default')
|
||||
)
|
||||
))
|
||||
|
||||
|
||||
def create(vm_):
|
||||
|
Loading…
Reference in New Issue
Block a user