Jira (PUP-4667) datadir in hiera.yaml not interpolating %{::environment}

2015-05-28 Thread Henrik Lindberg (JIRA)
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.


Jira (PUP-4667) datadir in hiera.yaml not interpolating %{::environment}

2015-05-28 Thread Sivakalyan Chintakana (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sivakalyan Chintakana created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-4667 
 
 
 
  datadir in hiera.yaml not interpolating %{::environment}   
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.1.0 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Puppet Server 
 
 
 

Created:
 

 2015/05/28 2:05 PM 
 
 
 

Environment:
 
 
CentOS 7 Openstack VM R10k 1.3.2 
 
 
 

Fix Versions:
 

 PUP 4.1.0 
 
 
 

Priority:
 
  Critical 
 
 
 

Reporter:
 
 Sivakalyan Chintakana 
 
 
 
 
 
 
 
 
 
 
Hi, 
Using the environment variable or r10k_environment fact in the datadir field in hiera.yaml doesn't work.  
 
$ cat /etc/puppetlabs/code/hiera.yaml — :backends: