per-promise 'inform => "false"'?

"[email protected]" <[email protected]> Thu, 13 Jul 2023 07:01:23 -0700 (PDT)
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
I had a recollection from several years ago that a "files:" promise could 
take an attribute:

   - inform => "false"

Is my memory playing tricks?  I've just tried it and got:

   - Unknown attribute 'inform' for promise type 'files'

Background.  We have been working our way up from 3.10 to 3.15.  Now I'm 
trying 3.18.  Suddenly one of our promises has changed from producing a 
single diagnostic line for the file:

   - info: Edit file '...'

to two diagnostic lines *for each and every line changed in the file*.  
What pushes this over the acceptability boundary for us is that this is a 
local "state" file, which we deliberately empty and re-populate with 
400-500 lines each and every run of "cf-agent" (so 800-1,000 diagnostic 
lines every run of cf-agent).

What I ideally wish to do is that apply something like "inform => false" to 
that single promise (with all other promises continuing to show their more 
modest diagnostic lines).

So... is my (supposed) memory of a per-promise "inform => false" (or 
similar) playing mind-games and tricks on me?  Or was there once such an 
attribute?  (Maybe even 15 years ago when, at another place, I had been 
using CFE version 2!)  Or, even better, is there such a per-promise 
attribute, but I simply haven't found it?

-- David Lee

-- 
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/5228ee49-2ac5-43b6-8df7-143486704e90n%40googlegroups.com.