On Tue, Feb 1, 2011 at 12:27 PM, Eystein Måløy Stenberg
<[email protected]> wrote:
> Ah, now I remember - I did a slight change to your policy.
> As it was, your files:-promise had no intention about the state, and was
> thus skipped.
>
> Try this (just to check).
>
> --
> files:
>
> "/root/tmp2"
> transformer => "/bin/true $(this.promiser)",
> depth_search => recurse("inf");
> --
Dear Eystein,
Sure enough, now it works. Thanks!!!
I really don't understand it, though. Your files promise has no
intention about state either. Why does it work?
Ane why isn't
files: "/root/tmp2" depth_search => recurse("inf");
a promise to search /root/tmp2? It looks like one to me. Because I
defined the suspiciousnames slist, I am expecting cf-agent to search
the /root/tmp2 directory. Wouldn't that be more elegant than
/bin/true /root/tmp2?
BTW, I am not critical of your help! Just want to contribute to
Cfengine. :) Would love to hear your thoughts on this.
Best,
Aleksey
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine