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.
- Chad On Thu, Feb 14, 2013 at 2:19 PM, jcbollinger <john.bollin...@stjude.org> wrote: > > > On Thursday, February 14, 2013 12:08:17 PM UTC-6, Chad Huneycutt wrote: >> >> It is my understanding that the calling_* variables are only available >> to the puppet backend. At least they do not work for me. >> %{module_name}, on the other hand, works as I expect it to with the >> yaml backend. >> > > I can't speak to whether or why these currently work for you, but they are > certainly not targeted specifically at the Puppet back end. They are mostly > intended for use in your hiera configuration file (hiera.yaml), which is > independent of any particular back end (since it's where you define which > one(s) to use). It's precisely the use case you described. > > With that said, it looks like at least one other bug has been filed against > this functionality in Puppet 3, so perhaps you're running up against that. > In any case, I still say no, you're not off-base: what you're asking for is > supposed to already work. > > > 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 puppet-users+unsubscr...@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. > > -- Chad M. Huneycutt -- 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 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.