Calling module can serve you well if you have a reusable define that is
defined in module that is not the same from the one that it is used in.
I hope this makes sense...
Most of the time I won''t recommend this for a hierarchy as it can be
hard to reason about it...
Best, Nikola
On Tue, Apr 02, 2013 at 09:51:17PM -0700, Kubes wrote:> In using Hiera, what is the difference between calling_module
> and module_name?
>
> Which is should be used?
>
> :hierarchy:
> - %{environment}/%{calling_module}/common
> - %{environment}/%{module_name}/common
>
>
> Thanks
>
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.