My apologies. I have changed Exec to ExecProgram as advertised. This
is now in svn

Mark

Lars Kellogg-Stedman wrote:
> The cfengine reference suggests that the following should work:
> 
>     filters:
> 
>       { SampleFilter
> 
>       NameRegex: "*.yyy"
>       ExecProgram: "/path/to/myprogram ${this}"
>       Result: "ExecProgram"
>       }
> 
> It doesn't.  The problem appears to be described accurately and succinctly
> in this post from 2003:
> 
>     http://osdir.com/ml/sysutils.cfengine.general/2003-10/msg00068.html
> 
>     (In short, you need to use "Exec" in Result, not "ExecProgram", but
>     this is neither obvious nor documented).
> 
> To which Mark Burgess replied:
> 
>     Thanks for pointing this out. Will fix for 2.1.0
> 
> I'm running cfengine 2.2.1 and the problem appears to persist.  I've
> resolved it locally, thanks to that aged but accurate posting, but I
> thought I'd repost the bug on the odd chance that either the documentation
> or the code would be fixed for the next release.
> 
> Cheers,
> 
>     -- Lars
> 

-- 
Mark Burgess

Professor of Network and System Administration
Oslo University College

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  [EMAIL PROTECTED]
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to