Project

General

Profile

Actions

Bug #12220

closed

if we have syntax error in policies on the Rudder server, rudder agent check says that all is fine

Added by Nicolas CHARLES over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
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


Subtasks 1 (0 open1 closed)

Bug #12238: if we have syntax error in policies on the Rudder server, rudder agent check says that all is fineReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF