[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editfiles in inform mode
From: |
Mark Burgess |
Subject: |
Re: Editfiles in inform mode |
Date: |
Wed, 22 Feb 2006 07:54:08 +0100 |
It is a matter of policy what level different messages are printed at.
Perhaps not all of the levels are to your taste. If you locate the
message in the code you can see what the assumed importance ranking is.
If there are somethings you would like changed, make a case for it soon.
I'll release 2.1.19 over the weekend probably.
M
On Tue, 2006-02-21 at 14:45 -0500, christian pearce wrote:
> I any having issues with trying to get the audting mode to report back
> to me what it is doing. Here is an example:
>
> [root@localhost tmp]# cat cf.test
> control:
>
> actionsequence = ( editfiles )
>
> editfiles:
>
> any::
> {
>
> /etc/inetd.conf
> Inform "on"
> HashCommentLinesStarting "name"
> HashCommentLinesStarting "comsat"
>
> }
> [root@localhost tmp]# echo "name\ncomsat" > /etc/inetd.conf
> [root@localhost tmp]# CFINPUTS=/var/tmp cfagent -f ./cf.test -I
> [root@localhost tmp]# echo "name\ncomsat" > /etc/inetd.conf
> [root@localhost tmp]# CFINPUTS=/var/tmp cfagent -f ./cf.test -v | grep Comm
> Commenting # name\ncomsat
> [root@localhost tmp]#
>
> as you can see it works when I specify -v and not -I. Am I
> misunderstanding what the Inform switch is for?
> --
> Christian Pearce
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine