mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Make sure dellchassis.blade_idrac has a name arg and a ret['name']
This commit is contained in:
parent
fb718539e9
commit
f3ea01bbfa
@ -168,7 +168,7 @@ def __virtual__():
|
|||||||
return 'chassis.cmd' in __salt__
|
return 'chassis.cmd' in __salt__
|
||||||
|
|
||||||
|
|
||||||
def blade_idrac(idrac_password=None, idrac_ipmi=None,
|
def blade_idrac(name, idrac_password=None, idrac_ipmi=None,
|
||||||
idrac_ip=None, idrac_netmask=None, idrac_gateway=None,
|
idrac_ip=None, idrac_netmask=None, idrac_gateway=None,
|
||||||
idrac_dnsname=None,
|
idrac_dnsname=None,
|
||||||
drac_dhcp=None):
|
drac_dhcp=None):
|
||||||
@ -185,7 +185,8 @@ def blade_idrac(idrac_password=None, idrac_ipmi=None,
|
|||||||
:return: A standard Salt changes dictionary
|
:return: A standard Salt changes dictionary
|
||||||
'''
|
'''
|
||||||
|
|
||||||
ret = {'result': True,
|
ret = {'name': name,
|
||||||
|
'result': True,
|
||||||
'changes': {},
|
'changes': {},
|
||||||
'comment': ''}
|
'comment': ''}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user