Ahhhh, that makes sense. Thank you!
On Wednesday, August 5, 2015 at 10:54:45 AM UTC+1, R.I. Pienaar wrote: > > > > ----- Original Message ----- > > From: "Alexander Dacre" <[email protected] <javascript:>> > > To: "puppet-users" <[email protected] <javascript:>> > > Sent: Wednesday, August 5, 2015 10:51:24 AM > > Subject: [Puppet Users] hiera behaviour > > > Hi, > > > > I'm updating an existing Puppet module so that I can use it with Hiera. > > > > The node yaml files contains the following > > > > selinux::mode: 'enforcing' > > selinux::booleans: > > 'httpd_can_network_connect': > > ensure: true > > 'httpd_setrlimit': > > ensure: true > > note the key here "selinux::booleans", this maps to: > > class selinux($booleans) { ... } > > > class selinux ( > > $mode = $::selinux::params::mode, > > > > ### START Hiera Lookups ### > > $selinux_booleans = {} > > ### END Hiera Lookups ### > > ) inherits selinux::params { > > > > class { 'selinux::package': } -> > > class { 'selinux::config': } > > > > create_resources('selinux::boolean', $selinux_booleans) > > } > > so yours have selinux($selinux_booleans) which is a different key. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ea2e48e6-a678-4566-8524-1e49f39a34a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
