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


Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to