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.
On Thu, Feb 14, 2013 at 9:47 AM, jcbollinger <john.bollin...@stjude.org> wrote: > > > On Wednesday, February 13, 2013 5:17:40 PM UTC-6, Chad Huneycutt wrote: >> >> I would like to have a hiera.yaml like so: >> >> --- >> :backends: >> - yaml >> :hierarchy: >> - nodes/%{::hostname} >> - profiles/%{class_name} >> - common >> :yaml: >> :datadir: /etc/puppet/environments/%{environment}/data >> >> >> Am I just completely off-base? >> > > No, but it's spelled %{calling_class}. There is also %{calling_module}. Do > be aware of http://projects.puppetlabs.com/issues/14985, however. > > > 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.