[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine:foo: Appending [myclass] messages
From: |
Frederic Lamock |
Subject: |
cfengine:foo: Appending [myclass] messages |
Date: |
Thu, 23 Sep 2004 17:12:48 +0200 |
Hi,
I've some problems in running this following program (cfengine 2.1.10) :
control:
actionsequence = ( copy.myclass editfiles.myclass )
domain = ( domain.org )
copy:
myclass::
/etc/inet/hosts
dest=/tmp/hosts
o=root g=root m=755
editfiles:
myclass::
{ /tmp/hosts
AppendIfNoSuchLine "IP hostname"
}
Every time this program is executed, the message "cfengine:foo: Appending
[myclass]" is sent by e-mail to the sysadm and is logged into the
/var/cfengine/outputs/ files.
But now if the editfiles: block is written before the copy: block (see below),
no messages is printed.
control:
actionsequence = ( copy.myclass editfiles.myclass )
domain = ( domain.org )
editfiles:
myclass::
{ /tmp/hosts
AppendIfNoSuchLine "IP hostname"
}
copy:
myclass::
/etc/inet/hosts
dest=/tmp/hosts
o=root g=root m=755
Any idea ?
Thx
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cfengine:foo: Appending [myclass] messages,
Frederic Lamock <=