On Thursday, February 14, 2013 1:45:36 PM UTC-6, Chad Huneycutt wrote:
>
> Thanks, John.  I think you are right that puppet should support it, 
> but I am pretty sure it does not.   I chatted with RI, and it seems 
> that the classname is not "exposed", so when the puppet backend does 
> the lookup, it figures out the classname and sets the 'calling_class' 
> variable before it interprets the hierarchy.  I am going to try to 
> hack the same thing into the yaml backend, as well as file a bug (or 
> +1 one) about it. 
>
>

Yes, R.I. was explaining the current state of the code, as is also 
summarized in the PL bug tracker.  In addition to issue 14985, which we 
discussed above, there is http://projects.puppetlabs.com/issues/16730, 
which speaks directly to how %{calling_class} and %{calling_module} could 
be used in hiera.yaml in Puppet 2.7, whereas Puppet 3 apparently regressed 
on that.  That issue has been marked as a duplicate of 14985, however; I 
mention it to give you confidence about which issue to watch / vote up 
(14985).  Also to confirm that PL not only agrees that there's an issue, 
but has a solution in flight.


John

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to