Re: spam in output/previous enterprise 3.18

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Stefan Skoglund <[email protected]> writes:

> mån 2021-08-16 klockan 13:36 -0700 skrev 'Nick Anderson' via help-
> cfengine: > <https://tracker.mender.io/browse/CFE-3732> The error (or
> report) also vanished when recursion was at infinity, but yeah....
> This is partly my trouble : i cant get my head around the description
> of recursion in the cfengine reference section about files
> promises.... I usually do my test runs of the policy with --inform.


What part do you struggle with?

At a high level:

You make a promise about a local directory (I recorded always specifying
directories suffixed with `/.' in order to differentiate it from a plain
file). If you want to make the promise apply to sub directories and
files you add the `depth_search' attribute where you can specify rules
about recursion (how deep, directories to include and exclude, details
about how to handle symlinks and file-system boundaries).

You can (or may be required, I can't recall off the top of my head, I
seem to recall minor changes in behavior sometime in the last decade) to
supply the `file_select' attribute as well to specify which files should
be operated on.

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/87r1esnd2h.fsf%40northern.tech.

-- 
Nick Anderson | Doer of Things | (+1) 785-550-1767 | https://northern.tech

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/87r1esnd2h.fsf%40northern.tech.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.