Does any one know how to evaluate a node hostname in the nodes.pp file?  
for example something like this..
 
node 'node1.com', 'node2.com', 'node3.com' {
   case node.name {  
       'node1.com' : { include solaris }
       'node2.com' : { include redhat }
       'node3.com' : { include aix }
       default: { include generic }
}
 
Much appreciated your feedback.  Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/Dx7Ue8P-yx4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to