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: Christopher DeMarco
Subject: Re: Strategy for "one-off" tasks
Date: Fri, 11 Jul 2003 07:53:59 +0800
User-agent: Mutt/1.4.1i

Good question -  I'll be interested to   hear how my method  stacks up
against the oldbies' ;)

`,`,`,`,`, cut here ,`,`,`,`,`,`,`,`,`,`,`,`,`,

       AddInstallable = ( SPECIAL some_job )
       !SPECIAL:: actionsequence = ( 
              copy.normal              
       )
       SPECIAL:: actionsequence = (
              copy
       (              
       copy:
              normal:: # whatever
              SPECIAL.some_job:: # everwhat

`,`,`,`,`, cut here ,`,`,`,`,`,`,`,`,`,`,`,`,`,

So whenever I want to run my special case, I invoke cfagent with
       cfagent -D SPECIAL -D some_job

This  requires that EVERYTHING  be labelled with  a class,  though - I
have some "run-always" actions  like ntp and copying cfagent.conf from
the master, but I have everything linked to a class to keep my SPECIAL
cases as fast as possible.
       
-- 
% You are in a maze of twisty passages, all alike.
  Christopher DeMarco
  address@hidden
  +6013 389 5658




reply via email to

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