Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: write BMC config #15

Closed
faxm0dem opened this issue Jun 11, 2015 · 1 comment
Closed

Enhancement: write BMC config #15

faxm0dem opened this issue Jun 11, 2015 · 1 comment

Comments

@faxm0dem
Copy link

I have a project to implement writing config to the BMC. It would use freeipmi (which will ensure very clean Exec code) and I'm thinking about the following prototype. Comments and ideas welcome

ipmi::bmc::config::commit { 'static config from other module':
  order  => '00',
  params => file('site_bmc/path/to/common_config.dump')
}

ipmi::bmc::config::commit { 'variable config from other module':
  order  => '10',
  params => template('site_bmc/path/to/common_config.erb')
}

ipmi::bmc::config::commit { 'variable config from hiera':
  order  => '20',
  params => hiera_hash('site::bmc::user_config')
}

ipmi::bmc::config::commit { 'explicit config from manifest':
  order  => '30',
  params => {
    'Lan_Conf' => {
      'IP_Address_Source' => 'Use_DHCP'
    }
  }
}
@jhoblitt
Copy link
Owner

This feature was provided (with slightly different syntax) by #20 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants