[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with edifiles not done at the right time
From: |
Mark . Burgess |
Subject: |
Re: problem with edifiles not done at the right time |
Date: |
Mon, 2 Sep 2002 17:11:11 +0200 (MET DST) |
Try upgrading to 2.0.4.
Mark
On 2 Sep, Patrice DUMAS - DOCT wrote:
> Hi,
>
> I use cfengine 2.0.2. All the computers are redhat 7.3 boxes.
>
> I have a very strange problem. It may be a basic error, but i can't find
> where.
> Basically I do some editfiles with some class defined such that it is done
> sequentially, clean first and then finish.
>
> In my cfagent.conf, I have these relevant things:
> --------------------------------------------------------------------------
> groups:
> laptop = ( janus )
> usr = ( zeus )
> independant = ( gilotte )
>
> control:
> ActionSequence = ( .....
> editfiles.clean
> .....
> editfiles.finish
> .....
> )
> editfiles:
> linux.!independant.!debian.(workstation|lightworkstation|laptop|usr).rec
> onf.finish::
> { /etc/rc.d/rc.local
> BeginGroupIfNoSuchLine "#begin $(site)"
> .......
> }
> janus::
> { /etc/rc.d/rc.local
> AppendIfNoSuchLine "/etc/init.d/network start"
> }
> ---------------------------------------------------------------------------
>
>
> I run cfagent with
> # /sbin/cfagent -v -t -Dreconf -f /etc/cfagent.conf
>
> On zeus the editing of rc.local is done in finish, but on janus it is only
> done
> in clean. I am missing something, or is it a bug ?
>
> Pat
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~