[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with edifiles not done at the right time
From: |
Patrice DUMAS - DOCT |
Subject: |
problem with edifiles not done at the right time |
Date: |
Mon, 2 Sep 2002 17:08:43 +0200 |
User-agent: |
Mutt/1.2.5.1i |
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
- problem with edifiles not done at the right time,
Patrice DUMAS - DOCT <=