On Feb 1, 8:55 am, Doug Warner <d...@warner.fm> wrote:
> Since it's part of my base node that every box inherits, it's pretty painful
> to just ignore this one class.  And as Dan said, this type of thing should be
> easily doable.

I'm not sure I follow that response.  I think you're saying you don't
want to comment out the include, because you want it applied to other
hosts.  Fine, but what about the other alternative I suggested: using
an "if" to selectively disable the class.  Like this:

node base {
    # ...
    if $hostname != "excludeme" {
        include PkgGroup::InstallPkg
    }
}

Quick and dirty.  Recommended for short-term use only.  Offer not
valid where prohibited by law.


John

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