[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Look for missing files.
From: |
Wipf, Stefan |
Subject: |
Re: Look for missing files. |
Date: |
Mon, 11 Nov 2002 16:18:23 -0600 |
ddunham@tsg.taos.com wrote:
>
> I'm just now creating a cfengine setup. One of the first things I
> want to do is to have cfegine notify me of "bad" files (wrong or
> missing), and then after fixing approval is granted, I run cfengine
> with a different class to "fix" the files.
>
> I'm having trouble with the first part. I don't seem to understand
> how to get the notification.
>
> I've created this in the cfagent.conf..
>
> files:
> any::
> /tmp/testfile m=0644 o=root g=other action=warnall
>
> I expected to be notified about this missing file. I see that it
> knows about it when running -v, but I don't get any output when run
> in non-verbose mode..
>
This should do the trick:
/tmp/testfile m=0644 o=root g=other action=warnall inform=on
--
Stefan Wipf
swipf@htc.com