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.