Hi

I have a greenfield install. Centos 6.x puppet opensource latest. 
 installed r10k.
I have setup my git repo, used the control repo as a starting spot.

now I am getting my head around hiera 

Looking at this https://docs.puppet.com/hiera/3.1/complete_example.html  I 
understand the way that works for each environment.

But how do I use hiera to allocate nodes to environments ?

for example can I classify by name regex, so all hosts with name ".*prod.*" 
is in production and ".*inf.*" into inf environment 
can I also classify by ip address ?

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8236b18c-2b1c-4733-a744-7dbeb281784c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to