On 08/02/17 17:55, Ben Hines wrote:
Perhaps this is just a bug, but does %{calling_class} function with Hiera 5? I haven't been able to get it to function. Perhaps it has a new syntax?
It is deliberately not supported in the hiera 5 format. - henrik
Notice it's blank: ==> test: Hierarchy entry "calling_class" ==> test: Path "/tmp/vagrant-puppet/environments/myenv/data/classes/.yaml" ==> test: Original path: "classes/%{calling_class}.yaml" ==> test: Path not found hiera.yaml looks like: (per the 'prerelease documention' :) version: 5 hierarchy: - name: "calling_class" path: classes/%{calling_class}.yaml defaults: datadir: data data_hash: yaml_data -Ben -- 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 <mailto:puppet-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2083ae8f-5437-43c3-8c40-075c3b7abf57%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/2083ae8f-5437-43c3-8c40-075c3b7abf57%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout.
-- Visit my Blog "Puppet on the Edge" http://puppet-on-the-edge.blogspot.se/ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8616db10-6e15-f71d-a999-c663d8d2bfe3%40puppet.com. For more options, visit https://groups.google.com/d/optout.