
Add class to manage bifrost: - clones bifrost from source - adds config files - runs bifrost install procedure - runs custom ansible playbook to generate static dhcp inventory - starts an additional dnsmasq instance and runs it like a service Based on the ironic::bifrost class[1] but with some modifications to avoid heavy reliance on the puppet DSL. Co-Authored-By: Clint Byrum <clint@fewbar.com> Co-Authored-By: greghaynes <greg@greghaynes.net> Co-Authored-By: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> Co-Authored-By: Yolanda Robla <info@ysoft.biz> [1] http://git.openstack.org/cgit/openstack/puppet-ironic/tree/manifests/bifrost.pp Change-Id: I949344c16cf9ee3965b0bc96850eb208ac65b168
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) %>
|