Re: Augments file def.json

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Hi Thierry,

      First I want to position variables in an augment file and
      use these variables in the def.json. especially for "admit
      ip".

The notes in the `def.json' [Augments Files documentation] indicate that
`sys' vars are expanded (unlike `host_specific.json') which notes
explicitly that it does not support expansion of CFEngine variables. So,
perhaps we should update the wording there a bit to be more clear and
say variables (except for `sys' vars) are not expanded.

      Is it possible in the def.json to use variables defined in
      augments file?

No, it is not, at least those variables will not be expanded by the
Augments processing, but CFEngine evaluation may expand them later.


[Augments Files documentation]
<https://docs.cfengine.com/docs/3.21/reference-language-concepts-augments.html#def-json>

-- 
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/875ybmj2o1.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/875ybmj2o1.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.