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?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2083ae8f-5437-43c3-8c40-075c3b7abf57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to