Doug: I hope you are wrong about that as it would be a bad non-explicit, very 
Ruby-like choice of indirectness
for controlling and detailing what should be plain-and-simple and Iowa-like.

Stuart

On Aug 17, 2012, at 2:27 PM, Douglas Garstang <doug.garst...@gmail.com> wrote:

> Seems like nodes are matching the default node before they are
> matching the more specific nodes. My site.pp has:
> 
> include "nodes/*.pp"
> 
> In the nodes directory are two files, default.pp and nagios_server.pp.
> 
> default.pp:
> node default {
>    include role::common
> }
> 
> nagios_server.pp:
> node 'mon01.us1.xxx.com' {
>    $node_env = "production"
>    include nagios::plugins
>    include nagios::server
> }
> 
> Puppet is finding the default on mon01.us1.xxx.com. If I comment out
> the lines in default.pp, it goes to mon01.us1.bitcasa.com. Shouldn't
> it use the default node last?
> 
> Doug.
> 
> -- 
> 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.
> 

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