Actions
Bug #12220
closedif we have syntax error in policies on the Rudder server, rudder agent check says that all is fine
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
I hacked my policies to break them (adding bli at the begining)
Running rudder agent check outputs
/var/rudder/cfengine-community/inputs/promises.cf:24:3: error: syntax error bli ^ /var/rudder/cfengine-community/inputs/promises.cf:24:3: error: Expected 'bundle' or 'body' keyword, wrong input 'bli' bli ^ error: There are syntax errors in policy files ok: Rudder agent check ran without errors.
and policies are not fixed
Happens at least in 4.2, maybe in 4.1 also
Updated by Nicolas CHARLES over 6 years ago
- Subject changed from if we have syntax error in policies, rudder agent check says that all is fine to if we have syntax error in policies on the Rudder server, rudder agent check says that all is fine
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.2.5 to 4.1.11
Updated by Benoît PECCATTE over 6 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE over 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-agent/pull/169
Updated by Benoît PECCATTE over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|2ec5272bf00ceddb86b99a8278d569b0d20cfec1.
Updated by Alexis Mousset over 6 years ago
- Status changed from Pending release to Released
Actions