[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get a warning if a file is missing

From: Matt Armstrong
Subject: How to get a warning if a file is missing
Date: 23 May 2001 11:59:01 -0700
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

I'd like a warning if /usr/bin/vim doesn't exist on any Debian system
I run.  I tried:

        /usr/bin/vim action=warnall

(the Debian class is defined for me by the Debian cfengine package)

cfengien -v logs:

Checking file(s) in /usr/bin/vim
cfengine:squeaker: File/directory </usr/bin/vim> does not exist!
cfengine:squeaker: File/Dir /usr/bin/vim did not exist and was marked (warnall)

however, no warning is shown.  I wonder how I can get a warning
printed without dropping down to a shell script.

I'm using version 1.5.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]