[Top][All Lists]

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

Re: Application management

From: Allen Bettilyon
Subject: Re: Application management
Date: 26 Mar 2003 22:25:18 -0700

Attached is the perl script I use... and bellow is the way I call it
from within cfengine.  I am using apt compiled with rpm support to
maintain rpms on my cluster of machines based from redhat 7.2.


   actionsequence = (

  has_aptget    = ( FileExists(/usr/bin/apt-get) )

      "/var/cfengine/scripts/rpm_syn list_file1 list_file2 list_file3"

      "/bin/echo WARNING: no apt-get command"

I maintain list files for each host_class that I have and distribute
them accordingly across my clusters.

I am maintaining my own apt repository and also distributing the proper
sources.list file which points to my repository.  Every time I roll a
new rpm, I simply throw it into the repository, and add a new line to my
rpmlist file.  This has worked quite well for me.

- Allen Bettilyon 

On Wed, 2003-03-26 at 06:53, clemens fischer wrote:
> Allen Bettilyon <address@hidden>:
> > I am using this on my production servers to keep rpms in sync and
> > current.  I have written a perl script to marry apt with cfengine.
> could you post this script and what you do in cfengine files to call
> it up?
>   clemens

Attachment: rpm_sync
Description: Text document

reply via email to

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