Hello,

How do I specify a platform when doing a package query?  I'm running
into a situation where the i386 package is already installed, but I
also need the 64 bit.
Here's my config snippet:

packages:
 any::
  "compat-libstdc++-33"  pkgmgr=rpm cmp=eq version=0:3.2.3-47.3 define=hascpplib

hascpplib above always true, because the i386 package is installed.

Here's a machine with both installed, you can see the RPM's are named
exactly the same:
rpm -qa --queryformat
"%{NAME}:%{EPOCH}:%{VERSION}-%{RELEASE}:%{PLATFORM}\n"
"compat-libstdc++-33"
compat-libstdc++-33:(none):3.2.3-47.3:x86_64-redhat-linux
compat-libstdc++-33:(none):3.2.3-47.3:i386-redhat-linux

any ideas?

-- 
Doug Chapman
prjctgeek at gmail dot com


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to