help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Glob hard class names?


From: Mark Burgess
Subject: Re: Glob hard class names?
Date: Wed, 06 Apr 2005 09:26:35 +0200

Can you use the RegCmp() function?

http://www.cfengine.org/docs/cfengine-Reference.html#Evaluated-classes-and-special-functions

On Tue, 2005-04-05 at 15:21 -0700, Atom Powers wrote:
>  Is it possible to glob hard class names?
> For instance I currently have:
> --
> Groups:
>       freebsd_4       = ( freebsd_4_11_STABLE freebsd_4_10_STABLE
> freebsd_4_10_RELEASE_p3 )
>       freebsd_5       = ( freebsd_5_3_RELEASE freebsd_5_3_STABLE )
> --
> 
> But I'm still missing a lot of systems. "freebsd_5_4_PRERELEASE", for
> example, won't match either group. Can I do something like:
> 
> --
> Groups:
>       freebsd_4       = ( freebsd_4_* )
>       freebsd_5       = ( freebsd_5_* )
> --
> 
> Or is there another way to easily define a group for these hard classes? (And
> still catch "freebsd_5_4_STABLE" when it is released.)
> 
> ----
> Perfection is just a word I use occasionally with mustard.
> 
> Atom Powers
> Systems Administrator
> Pyramid Breweries Inc.
> 206.682.8322 x251
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]