help-cfengine
[Top][All Lists]
Advanced

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

Re: Strategy for "one-off" tasks


From: James Thompson
Subject: Re: Strategy for "one-off" tasks
Date: Thu, 10 Jul 2003 13:03:15 -0500 (CDT)

For simple stuff I have a cf.onetimers file listed in my cfagent.conf that
looks as follows.

shellcommands:
  !servers.debian.onetimers::
  "/do/something/here"

I edit that file adding the commands I need to issue, then run it from the
cfagent master server like this

cfrun -- -D onetimers

I know this doesn't handle machines that are off line at the time of
execution but it's simple and in my environment it works well enough for
me most the time.


On Thu, 10 Jul 2003, Ferguson, Steve wrote:

> I'm interested in hearing how people are applying cfengine to perform "one
> off" system management tasks.  It's fairly obvious how one would insert a
> new configuration task in on a recurring basis.  But how would you approach
> a task that you only want to execute one time?  I've got a few different
> ideas in mind, but I'd like to hear what other folks have been doing in
> practice before I commit to any one process.
>
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561
Kansas State University                          Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<






reply via email to

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