mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +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__
|
||||
|
||||
|
||||
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_dnsname=None,
|
||||
drac_dhcp=None):
|
||||
@ -185,7 +185,8 @@ def blade_idrac(idrac_password=None, idrac_ipmi=None,
|
||||
:return: A standard Salt changes dictionary
|
||||
'''
|
||||
|
||||
ret = {'result': True,
|
||||
ret = {'name': name,
|
||||
'result': True,
|
||||
'changes': {},
|
||||
'comment': ''}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user