Currently puppet supports regex matching on node names

also puppet looks if a node is named default and applies this manifest
but there is also an "inherit" where nodes can inherit another one (but
only one!) so it might help to split your manifests up to different
nodes and inherit them either to regex , specific node names or the
default one

Regards,
Mike

Am 24.02.2011 15:16, schrieb Jed:
> Hi all,
> 
> I think this has been asked in one form or another, but my problem so
> far is i'm not sure of the terminology or nomenclature to use in my
> search string to find out my answer...
> 
> So, here is my question..
> 
> I have lots of systems/instances, like most of us, and like most of
> they are spread across different tiers and environments.
> 
> ie. dev/stg/prod
> 
> i've setup my puppet master to look for environment variables and
> based off of that the client will look under /etc/puppet/development
> or ./lab or ./prod ...etc..etc (that works great)
> 
> Now i've reached the point where I have a global baseline config/
> manifest that every host in each environment(dev/stg/prod) will get -
> that works great as well.
> 
> My problem now is that we have different host "groups", that require
> different files set of files outside of what the global base_line
> manifest provides.
> 
> for intance..
> 
> host that contain "wwwfe" in their host name need a different sudoers
> file then hosts that contain "profile" in thier hostname
> 
> is there a way that i can say...
> 
> provide the base_line to every machines/instance, but only provide the
> "www-sudoers" file to host that contain "wwwfe" in their hostname
> 
> or...
> 
> provide the profile_sudoers file only to hosts that contain the
> "profile" in their host names?
> 
> not sure if they is even the correct way to go about this....
> currently I don't have any external node configuration(ie. ldap) so
> i'm doing everything by hand in the nodes.pp file
> 
> Thanks guy/gals, I really appreciate all the help!
> 

-- 
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 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to