[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Software Package Management
From: |
Paul Dlug |
Subject: |
Re: Software Package Management |
Date: |
Fri, 09 Aug 2002 11:06:53 -0400 |
OK, I started work on a module to do exactly this. However I have a few
questions that I can't find the answers to in the list archives or
documentation.
In the actionsequence I defined my module as "module:pkgchk $(package)"
and set the package variable above it. However I obviously need to check
multiple packages so I either need a way to rexecute the module with
another package or a way to allow the module to define classes like:
package.emacs-21 so that I can check them without having to list all
possibilities in AddInstallable. Suggestions?
Paul Paradise wrote:
>
> On Thu, Aug 08, 2002 at 05:50:39PM -0400, Paul Dlug wrote:
> > Is there a mechanism for verifying package installation on a host and
> > then upgrading, removing or installing a new package? (Specifically
> > FreeBSD and Solaris packages).
>
> Over here we were working on doing just that as part of our master
> plan, although we were using debian packages across multiple
> architectures. (Redhat, Solaris, and HP-UX)
>
> The basic idea is you want to write a module that queries your package
> management tool (in our case, dpkg) and then adds classes for each
> package installed. Then you can perform copy, editfiles,
> shellcommands, etc. based on whether a host has a package or not.
>
> --
>
> ----------------------------------------------------------------------
> Paul Paradise paradise@qualcomm.com
> Interim Engineering Intern, QUALCOMM Incorporated 858.651.6655
> IT Host Services AE-205C
> ----------------------------------------------------------------------
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
Re: Software Package Management, Darrell Fuhriman, 2002/08/08