[Top][All Lists]

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

Re: solaris $(class) considered harmful

From: Christian Pearce
Subject: Re: solaris $(class) considered harmful
Date: Tue, 15 Feb 2005 13:02:57 -0500

So do you want solarissparc defined as a class?  Or do you want the
$(class) variable to be sparc?

I don't have an x86 solaris box but I am making the assumption it is
solarisx86 (after looking at the code).

Why don't you just do

   Do stuff

   Do other stuff

On Tue, 2005-02-15 at 11:51, Chip Seraphine wrote:
> At risk of angering the multitudes and breaking compatability, would it 
> be possible to change the $(class) variable on Solaris Sparc machines to 
> something more descriptive?  Currently it evaluates to "solaris", which 
> creates the awful situation of "solaris" being defined on Sparcs but not 
> on Intels. 
> It is very counterintuitive to a reader (especially one not familiar 
> with the quirks of cfengine) to realize that
> solaris::
>     stuff
> solarisx86::
>     otherstuff
> is an either/or situation, not a superset/subset.
Christian Pearce

reply via email to

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