init.pp - HewlettPackard/puppet-ilorest-module GitHub Wiki

init.pp

init.pp is the base class. It inherits default parameters from params.pp, and calls install.pp and service.pp

$ilo_username = $ilorest::params::ilo_username,
$ilo_password = $ilorest::params::ilo_password,
$ilo_ip       = $ilorest::params::ilo_ip,
Variables are declared here based on their values in the params.pp file. This provides a default value to be used if no value is set, e.g. using include ilorest in the node definition, as opposed to adding the module as a class.
⚠️ **GitHub.com Fallback** ⚠️