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 [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.