help-cfengine
[Top][All Lists]
Advanced

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

Updating debian in cfengine


From: Alexander JOLK
Subject: Updating debian in cfengine
Date: Mon, 14 Apr 2003 18:02:14 +0200

Hi,

in order to share what I'm doing, here's how I make sure all my Debian
machines are up-to-date.  I don't want them to auto-install anything,
but I wanted a mail when there was anything of interest in the archives:

copy:
  debian::
   $(masterfiles)/etc/apt/sources.list
               dest=/etc/apt/sources.list
               type=checksum o=root g=root m=644
               server=$(fileserver) trustkey=true
shellcommands:
  debian.longjob::
   "/usr/bin/apt-get -qq update; /usr/bin/apt-get -qq -s dist-upgrade"

(The -qq option shuts apt-get up about anything but errors and, in this
case, packages to be installed.)

Hope this can be of use to somebody,
        Alex

-- 
Alexander Jolk         /         BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29




reply via email to

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