Looking at hard classes, they appear to be gathered from 'uname -a', at least they look like a simple concatenation of the uname results.
'uname -a' returns: -- FreeBSD vesta0.pyramidbrew.com 5.3-STABLE FreeBSD 5.3-STABLE #3: Mon Jan 31 12:26:38 PST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 -- And I get these hard classes: -- Additional hard class defined as: 32_bit Additional hard class defined as: freebsd_5_3_STABLE Additional hard class defined as: freebsd_i386 Additional hard class defined as: freebsd_i386_5_3_STABLE Additional hard class defined as: freebsd_i386_5_3_STABLE_FreeBSD_5_3_STABLE__3__Mon_Jan_31_12_26_38 _PST_2005_____root_vesta0_pyramidbrew_com__usr_obj_usr_src_sys_GENERIC GNU autoconf class from compile time: compiled_on_freebsd5_3 -- But since FreeBSD describes It's version with cvs tags (STABLE, RELEASE, PRERELEASE, etc) those become part of the hard classes. It would be a great feature to have hard classes like freebsd_5 and freebsd_5_3, etc. ---- Perfection is just a word I use occasionally with mustard. Atom Powers Systems Administrator Pyramid Breweries Inc. 206.682.8322 x251 -----Original Message----- From: Ed Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 4:46 PM To: Atom Powers Cc: help-cfengine@gnu.org Subject: Re: Glob hard class names? No freebsd experience here either, so this is mostly for my own edification, but hard classes on a redhat machine include: redhat redhat_ws redhat_ws_3 Are multiple hard classes, including 'freebsd_4', or 'freebsd_5', not also defined in a similar way on freebsd boxes? If not, it seems like a desirable feature request... -Ed On Tue, 2005-04-05 at 16:21, 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 _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine