[Top][All Lists]

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

RE: 'cfengine --inform' and shellcommmands

From: Andrews, Martin
Subject: RE: 'cfengine --inform' and shellcommmands
Date: Fri, 22 Jun 2001 13:04:04 -0400

If your script will obey the opt_dry_run class then you can use the
little-known "preview=true" option for the command and you will not get any
informs about starting and stopping the command. You script will be able to
generate it own logging messages. See:

> -----Original Message-----
> From: Bruce Wm Folliott [mailto:address@hidden
> Sent: Thursday, June 21, 2001 2:54 PM
> To: address@hidden
> Subject: 'cfengine --inform' and shellcommmands
> Howdy,
> My cron job runs cfengine as
>       cfengine --inform
> Now I've added a shell command to the shellcommands section
> and I get informed each time:
>       This message originates from host derwent on 
>       The full command issued was: /usr/local/sbin/cfnormal.
>       ++++
>       cf:derwent: Executing script abc`...(timeout=0,uid=-1,gid=-1)
>       cf:derwent: Finished script abc`
> Is there some way of disabling 'inform' on just this shell command?
> Bruce Wm Folliott
> _______________________________________________
> Help-cfengine mailing list
> address@hidden

reply via email to

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