
Since vanilla and chocolate are on the same VLAN, we don't have two different bifrost machines, just one to handle both. Therefore, the per-region split logic is not needed anymore and makes it impossible to have on the current baremetal machine in prod having both inventories at the same time. Note: I'm leaving the 'region' parameter on purpose, otherwise the apply tests fail. Will remove it in a subsequent patch. Change-Id: I433cdb8675c3acd2e699272aaf6a0e67eb9200b0
4 lines
294 B
Plaintext
4 lines
294 B
Plaintext
<% @ironic_deployed_inventory = @ironic_inventory.reject { |k,v| v['disabled'] } -%>
|
|
<% @ironic_deployed_inventory.each { |k,v| v['driver_info']['power']['ipmi_password'] = @ipmi_passwords[v['driver_info']['power']['ipmi_address']] } -%>
|
|
<%= JSON.pretty_generate(@ironic_deployed_inventory) %>
|