I'm using 3 environments in puppet. Each environment points 
to different IPs and/or hostnames for things ranging from 
nfs mounts to mail servers, etc.

Ideally, I'd like to use the exact same file in each 
environment, where the IPs/hostnames/etc get called via a 
variable.

Is there a best practice established in terms of where to 
store such variables? It seems like each node section in 
nodes.pp is the logical choice, but I suppose it's also 
possible to put a case statement at the beginning of each 
module that assigns the variables based on $environment.

I'm curious to see how other people are doing it.

johnn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
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