You have to defined a class separately:
classes:
"notthere" not => fileexists("$(dst)/$(match.1)");
On Fri, Apr 23, 2010 at 8:38 PM, Сева Глущенко
<[email protected]> wrote:
> Hello folks,
>
> I'm trying to make a promise which creates files when their
> counterparts not exist yet. But when I'm writing something like
>
> compile::
> "$(base)/(.*)/.compile"
> create => "true",
> ifvarclass => !canonify(fileexists("$(dst)/$(match.1)")),
> comment => "force compiler execution";
>
> The Cfengine reports syntax error on that. Am I missed something? Is
> there a way to accomplish this task at all?
>
> --
> SY, Seva Gluschenko.
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine