From f3ea01bbfa7a11d4d5fb6e0dced22acac76832af Mon Sep 17 00:00:00 2001 From: rallytime Date: Mon, 16 Nov 2015 21:14:54 -0700 Subject: [PATCH] Make sure dellchassis.blade_idrac has a name arg and a ret['name'] --- salt/states/dellchassis.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/salt/states/dellchassis.py b/salt/states/dellchassis.py index 7f250f20cd..60704b3965 100644 --- a/salt/states/dellchassis.py +++ b/salt/states/dellchassis.py @@ -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': ''}