Thanks alot. That really did the trick. I realized it very lately. I wasn't 
refreshing the classes so didn't get it immediately.Your help is very much 
appreciated.

Now I am having a hustle while picking up the hiera data. Its working when 
I am using the static directory structure in the datadir but it doesn't if 
I give variables.


static dir : /etc/puppetlabs/code/environments/production/hieradata
dynamic : /etc/puppetlabs/code/environments/%{environments}/hieradata

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/29ed3d95-4b8b-4b1c-a4d7-925b13c50489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to