help-cfengine
[Top][All Lists]
Advanced

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

Re: How to get a warning if a file is missing


From: Mark . Burgess
Subject: Re: How to get a warning if a file is missing
Date: Wed, 23 May 2001 22:00:41 +0200 (MET DST)

On 23 May, Matt Armstrong wrote:
> I'd like a warning if /usr/bin/vim doesn't exist on any Debian system
> I run.  I tried:
> 
> files:
>     debian::
>         /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
> 
> 

You can set inform=true. And then upgrade to at least 1.6.2 :)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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