Hi

> Some like this:
> 
> node default {
>     include dst
>     include aide
>     include cfg2html
>     include tcpwrappers
>     include shorewall
> }
> 
> node server01 {
>     exclude tcpwrappers
> }
> 
> Did you understood? I would like to have some servers "out" of "default"
> rules...


I think I understood, if not I don't see what you'd like to do.

So back to my suggestion: if you define an explicit node for a server,
then default won't be taken. according to documentation:

"You can also specify a node named default, which will be used if no
directly matching node is found."
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#nodes

So:

node default {
     include dst
     include aide
     include cfg2html
     include tcpwrappers
     include shorewall
}

node server01 {
     include dst
     include aide
     include cfg2html
     include shorewall
}

if you think this not very nice, then an external node tool or some
other way of organising your configs for nodes might fit better.

greets pete

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