On 02/02/2010 09:05 AM, jcbollinger wrote:
> 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.
That would probably be fine for this situation.  I was finally able to confirm
that "ensure => absent" in the ::disabled class *was* working as expected, so
it's not like we ran into any bugs, just some possible testing process problems.

Thanks for all the ideas!

-Doug

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to