Title: Message Title
Henrik Lindberg updated an issue
Puppet / PUP-4667
datadir in hiera.yaml not interpolating %{::environment}
Change By:
Henrik Lindberg
Hi,Using the environment variable or r10k_environment fact in the datadir field in hiera.yaml doesn't work. { quote code }$ cat /etc/puppetlabs/code/hiera.yaml---:backends: - yaml:hierarchy: - "nodes/%{::fqdn}" - "environment/%{::environment}" - global:yaml: :datadir: "/etc/puppetlabs/code/hieradata/%{::environment}"$ hiera -a classes -dDEBUG: 2015-05-28 21:02:54 +: Hiera YAML backend startingDEBUG: 2015-05-28 21:02:54 +: Looking up classes in YAML backendDEBUG: 2015-05-28 21:02:54 +: Looking for data source globalDEBUG: 2015-05-28 21:02:54 +: Cannot find datafile /etc/puppetlabs/code/hieradata/global.yaml, skippingnil{ quote code }
Add Comment
This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.