On Thursday, May 25, 2017 at 6:51:32 PM UTC+2, Henrik Lindberg wrote:
>
> It is worth pointing out that using calling_module/class etc. is 
> typically used to keep the data for a module/class (etc) in a separate 
> file/directory and then interpolate to get it. Most users do not use 
> these features for (the bad, anti-pattern) of binding the same key to 
> different values depending on from where it is looked up (that is the 
> main reason those keys are no longer supported, but it is also 
> performance). 
>
> So - if not relying on the anti-pattern (which you should not), then all 
> the values in all the referenced files can actually be bound at the same 
> time and there is not need to differentiate on them using paths. 
>
>
Thanks Hendrik.  I will look into the glob pattern as my aim was to 
override settings on the class level. (Not setting global defaults).  I'm 
also going to look at moving the hiera files to the specific module.  As 
all the modules that I'm overriding are custom modules here. 

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0f6c13df-0ef1-4b4c-98f1-f1871fed914b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to