Hi,

On 11/21/2016 09:59 PM, Nelo-Thara Wallus wrote:

> I'm currently writing an openssh module in puppet 4 and wanted to
> utilize the module hiera to define the defaults instead of supplying
> them directly.

I suppose it's not "module hiera" but "provider hiera". ;)

> Now, when supplying the defaults via a module hiera those defaults would
> always be merged with what the user set in their environment/classic
> hiera

Not necessarily.

You can set the default merge policy for specific keys of your module with
the magic key "lookup_options". You can have more details here:

https://www.devco.net/archives/2016/02/03/puppet-4-data-lookup-strategies.php

It's a good news, isn't it? ;)

François Lafont

-- 
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/b6f6d205-8928-4093-cc51-86dbc009b6e7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to