[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Method of Accessing Package Databases in Cfengine
From: |
Tim Nelson |
Subject: |
Re: Method of Accessing Package Databases in Cfengine |
Date: |
Mon, 10 Jan 2005 15:38:49 +1100 (EST) |
On Tue, 4 Jan 2005, Brian E. Seppanen wrote:
Was there a method for accessing package databases from
redhat - rpm
debian - dpkg
solaris - pkg
that is native to the newer versions of cfengine?
There's a package mechanism, but:
1. It only reads what packages are where; it allows you to define
classes based on whether the package is installed, and if so,
which version, but doesn't have an "else install" option.
You could combine this with shellcommands, though, to achieve
this effect. This appears to be exactly what you were asking for;
or did you have something more general in mind?
2. It currently only supports RPM, although it appears to have been
designed to be easily expandable.
http://www.iu.hio.no/cfengine/docs/cfengine-Reference.html#packages
I'm hoping that Arpmats (http://arpmats.sourceforge.net/) will
someday support multiple package managers, but at this point, it supports
only RPM also.
Thanks,
--
Tim Nelson
Server Administrator
WebAlive Technologies Global
Level 1 Innovation Building, Digital Harbour
1010 LaTrobe Street
Docklands, Melbourne,
Vic, 3008
Phone: +61 3 9934 0812
Fax: +61 3 9934 0899
E-mail: tim.nelson@webalive.biz
http://www.webalive.biz/