Project

General

Profile

Actions

Bug #14242

closed

Syntax error in policy generation in 5.1

Added by Félix DALLIDET about 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I've got this error at run execution in 5.1:

07:38:47 + rudder agent run
07:38:47 Rudder agent 5.1.0~alpha1~git201901270105-stretch0
07:38:47 Node uuid: 73cc6195-a73b-43a5-83fb-6e48114d9351
07:38:48 /var/rudder/cfengine-community/inputs/promises.cf:156:27: error: syntax error
07:38:48       "rudder_policies" => "any";
07:38:48                           ^
07:38:48 /var/rudder/cfengine-community/inputs/promises.cf:156:27: error: Expected ';', got '=>'
07:38:48       "rudder_policies" => "any";
07:38:48                           ^
07:38:48    error: There are syntax errors in policy files
07:38:48    error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
07:38:48    error: Error reading CFEngine policy. Exiting...
07:38:48 error    Rudder agent was interrupted during execution by a fatal error
07:38:48          Run with -i to see log messages.
Actions

Also available in: Atom PDF