----- Original Message -----
> From: "Alexander Dacre" <[email protected]>
> To: "puppet-users" <[email protected]>
> 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/593624908.108130.1438768474849.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to