I'm having a bit of trouble figuring out how regex matching (and maybe
inheritance?) are working in my nodes.pp file.

I've got a host with the hostname "lms-www0-2x-qa.domain"

1) In my site.pp file I 'import nodes.pp'  --> pretty sure that works

2) In my nodes.pp file, I have a default stanza --> modules in here are
being applied to my nodes, no problem

3) Again in nodes.pp, "node /qa/ inherits default"  --> this appears to be
loading modules into the overall manifest that's applied to my server

4) Below the qa regex, I have "node /www/ inherits default"  --> none of
the modules mentioned here are being applied

Is it a case of single matching?  That my host can only match one of those
stanzas in nodes.pp?


Greg Damiani
DevOps Engineer - 2tor, Inc.
  e: gdami...@2tor.com
  s: gregory.damiani
  c: (845) 548-6361

-- 
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