help-cfengine
[Top][All Lists]
Advanced

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

Platform variable in package section


From: Doug Chapman
Subject: Platform variable in package section
Date: Thu, 23 Jun 2005 12:09:31 -0700

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




reply via email to

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