[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: packages "bug"
From: |
Brendan Strejcek |
Subject: |
Re: packages "bug" |
Date: |
Sun, 13 Nov 2005 20:22:54 -0600 |
User-agent: |
Mutt/1.5.6+20040818i |
Mark Burgess wrote:
> Brendan you have
>
> > > > bash
> > > > pkgmgr=rpm
> > > > define=bash_pkg_installed
>
>
> > > > bash
> > > > pkgmgr=rpm
> > > > define=bash_package_installed
>
> i.e. the "do part" is the same in both cases, so both defines would
> always be true, except that cfengine thinks (rightly I believe)
> that it is unnecessary to do the same thing twice, so only one gets
> defined. There are no other classes that I can see...
One says: if bash is installed, define the class "foo". The other says:
if bash is installed, define the class "bar" (class names changed from
the example above for clarity). Since foo != bar, they are not the same
thing, and should not be treated as such by locks.
The practical downside to the current behavior is that, as an admin
interacting with a collection of cfengine policy files, to be able to
use one of the above class definitions with certainty, I have to examine
every other imported file and make sure someone else is not defining a
different class based on the same package.
Best,
Brendan
--
Senior System Administrator
The University of Chicago
Department of Computer Science
http://www.cs.uchicago.edu/people/brendan
http://people.cs.uchicago.edu/~brendan
Re: packages "bug", Mark Burgess, 2005/11/12