2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Fix ipmi plugin use of new attribute names

This commit is contained in:
Jarrod Johnson 2014-04-04 09:15:20 -04:00
parent c89a165c6a
commit 0d668e3f55

View File

@ -32,11 +32,11 @@ def _ipmi_evtloop():
def get_conn_params(node, configdata):
if 'secret.hardwaremanagementuser' in configdata:
username = configdata['secret.managementuser']['value']
username = configdata['secret.hardwaremanagementuser']['value']
else:
username = 'USERID'
if 'secret.hardwaremanagementpassphrase' in configdata:
passphrase = configdata['secret.managementpassphrase']['value']
passphrase = configdata['secret.hardwaremanagementpassphrase']['value']
else:
passphrase = 'PASSW0RD' # for lack of a better guess
if 'hardwaremanagement.manager' in configdata: