I work around this by creating wrapper classes that pull in my hiera data.
example:
class my_apache_config_module (
$this_hostname = hiera('this_hostname')
){
apache::vhost { $this_hostname:
blah => "blah blah"
}
}
On Wednesday, August 5, 2015 at 5:25:09 AM UTC-7, Alexander Dacre wrote:
>
> Hi,
>
> I'm going through an initial deployment of Puppet and was looking to use
> hiera as much as possible, but it seems that many existing modules do not
> have hiera support.
>
> The question I have is, is it 'OK' to have some bits of configuration for
> a node defined in hiera, and others in site.pp?
>
> Thanks,
> A
>
--
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/959d82e1-c41b-4df9-93d8-bc1ffe602bbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.