[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfengine:foo: Appending [myclass] messages
From: |
Mark . Burgess |
Subject: |
Re: cfengine:foo: Appending [myclass] messages |
Date: |
Sat, 9 Oct 2004 16:32:34 +0200 (MEST) |
Hi - I am unable to reproduce this on either solaris or linux,
M
On 23 Sep, Frederic Lamock wrote:
> 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
>
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: cfengine:foo: Appending [myclass] messages,
Mark . Burgess <=