Sorry forgot to post the output:
[root@example1234 hieradata]# hiera example12345
nil
[root@example1234 hieradata]# hiera example12345 --debug
DEBUG: 2015-09-09 15:12:35 +0100: Hiera YAML backend starting
DEBUG: 2015-09-09 15:12:35 +0100: Looking up example12345 in YAML backend
DEBUG: 2015-09-09 15:12:35 +0100: Looking for data source defaults
DEBUG: 2015-09-09 15:12:35 +0100: Cannot find datafile 
/etc/puppetlabs/code/environments//hieradata/defaults.yaml, skipping
DEBUG: 2015-09-09 15:12:35 +0100: Looking for data source global
DEBUG: 2015-09-09 15:12:35 +0100: Cannot find datafile 
/etc/puppetlabs/code/environments//hieradata/global.yaml, skipping
nil





On Tuesday, September 8, 2015 at 10:00:52 AM UTC+5:30, giridhar kazama 
wrote:
>
> HI,
> I have set up a master with 400+ agents. My master has 2015.2. I have to 
> setup 4 environments and all are test environments. I've tried creating 
> directories named with the test environments at 
> /etc/puppetlabs/code/environments/test1 
> /etc/puppetlabs/code/environments/test2 
> /etc/puppetlabs/code/environments/test3 and 
> /etc/puppetlabs/code/environments/test4.
> I have also changed the environment field to test1 in one of the agents 
> but it doesn't seems to be happy. could anyone help me on this please.
>
>
> Regards
> Giridhar
>

-- 
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/09774dce-d797-43a2-bfcc-4b88744b5867%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to