help-cfengine
[Top][All Lists]
Advanced

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

DPKGPackageCheck() implementation.


From: Morten Werner Olsen
Subject: DPKGPackageCheck() implementation.
Date: Tue, 9 Mar 2004 20:18:32 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

Hello!

I'm working on a project for sentralizing configuration management of
servers localized on different (physical) networks, and I'm sure this
isn't my last post to this mailinglist. We are using Debian GNU/Linux
as the platform, and try to use the superb APT- and Debconf-utilities
as much as possible for software installation and preconfiguration. :)

Cfengine was choosen as the configuration management tool, and one of
the first things I missed when using APT from Cfengine, was package
support for DPKG (this is already implemented for RPM). I have made a
draft implementation [1] of the function DPKGPackageCheck() in
src/package.c based on the already existing RPMPackageCheck().

I've also built a Debian package [2] for Woody with this patch (based
on the very good Cfengine2 package in Debian unstable).

The implementation is using APT in addition to DPKG, but as they both
provide functionality to handle DEB-packages, I found that ok.

An example on how I use the DPKG package support with the bind9
package, is available here [3].

What I want is that interested people could help me test and improve
this implementation, so that Mark maybe includes it in future releases
of Cfengine.

Comments?


- Werner

[1] http://werner.nvg.org/src/cfengine_dpkg.diff
[2] http://werner.nvg.org/src/cfengine2_2.0.9+2.1.0b5-1.uninett.2_i386.deb
[2] http://werner.nvg.org/src/cf.bind9




reply via email to

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