help-cfengine
[Top][All Lists]
Advanced

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

Re: Software Package Management


From: Paul Paradise
Subject: Re: Software Package Management
Date: Fri, 9 Aug 2002 08:11:08 -0700
User-agent: Mutt/1.3.28i

Just have the module define every package installed, on per line. For
example, the output can be:

+package_libc6
+package_myotherprogram

and it'll define both for you.

-Paul

On Fri, Aug 09, 2002 at 11:06:53AM -0400, Paul Dlug wrote:
> 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

-- 

----------------------------------------------------------------------
 Paul Paradise                                  paradise@qualcomm.com
 Interim Engineering Intern, QUALCOMM Incorporated       858.651.6655
 IT Host Services                                             AE-205C
----------------------------------------------------------------------



reply via email to

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