Make sure dellchassis.blade_idrac has a name arg and a ret['name']

This commit is contained in:
rallytime 2015-11-16 21:14:54 -07:00
parent fb718539e9
commit f3ea01bbfa

View File

@ -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': ''}