cfengine2 bug with unrecognized package version (dpkg)

Daniel Ortmann <[email protected]> Sun, 12 Apr 2009 21:23:51 -0500
Newsgroups gmane.comp.sysutils.cfengine.bugs
Organization Daniel Ortmann Inc
Message-ID <[email protected]>
Hello,

Am I the only one having problems with package versions not being recognized?
I am running the recent jaunty ubuntu with the following bind9 installed as 
reported by dpkg --list bind9:
1:9.5.1.dfsg.P2-1

Cfengine2 has a problem recognizing that bind9 is installed.  The system 
architecture is x86_64 (i.e. Core2 Duo).

I am running configurations modified from Nate Campi and Kirk Bauer's recent 
excellent book "Automating Linux and Unix System Administration".

Note that DefaultPkgMgr = ( dpkg ) as in the book.

I have tried the variations on the following packages section, including no 
version as well as all the other versions listed here and "ge" and "eq".

packages:
    debian::
        bind9 
            #version=1:9.5.1.dfsg.P2-1
            #version="1:9.5.1.dfsg.P2-1"
            version=9.3.4
            #version=9.5.1
            #version=1
            cmp=ge
            #cmp=eq
            define=bind_installed
            elsedefine=bind_not_installed
    
alerts:
    debian.!bind_installed::
        "Error: I have been named as an external cache host, but I don't seem 
to have the bind9 package installed."

I have had to comment out the packages and alerts sections since I have found 
no way around the problem

Ideas?

--
Daniel Ortmann <[email protected]>
612-518-3147 m, 651-455-1442 h, dortmann31415 Skype
Key fingerprint = 2605 DFA4 A828 F840 9EBF  C3C4 20EB F2C7 ED34 E8B4

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBJ4qJHIOvyx+006LQRAqKPAJ0fPChDTPVUJTeMpwCMC2GwOZ94OgCfa4+z
kMiIpIwiaP/Mn5eKGwZM19g=
=pCPJ
-----END PGP SIGNATURE-----