Wrong reports on "File content" when using undefined variables
I tried to use file content with a call to a undefined variable on rudder 4.3.3
In file content:
I end up with a GM reporting "compliant", not a repaired one, creating the file /tmp/fda with the following content:
I was expecting an error report, or at least a repaired and a warning.
Updated by François ARMAND almost 5 years ago
- Subject changed from Wrong reports on "File content" when using undefined variables to Wrong reports on "File content" when using undefined variables
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Getting started - demo | first install | level 1 Techniques
- Priority changed from 0 to 67
This a behavior of CFEngine, hard to change. It's reported here: https://tracker.mender.io/browse/CFE-1907?jql=text%20~%20%22undefined%20variable%22
Moreover, its behavior changed in 3.10 and perhaps you see something special here. Alexis, could you take a look at it?