Project

General

Profile

Actions

Bug #5004

closed

Typo in site.st causes promise generation to fail

Added by Jonathan CLARKE over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

This happens as a result of #4963:

Technical details ⇨ cf-promise check fails for promises generated at '/var/rudder/cfengine-community/inputs.new'
⇨ 2014-06-11T11:12:32+0200 error: Syntax errors were found in policy files included from the main policy
⇨ /var/rudder/cfengine-community/inputs.new/common/1.0/site.cf:97:99: error: syntax error
⇨ "execRun" string => execresult("/bin/date --rfc-3339=second", "noshell");;
⇨ ^
⇨ /var/rudder/cfengine-community/inputs.new/common/1.0/site.cf:97:99: error: Expected promiser string, got ';'

Due to this line:

"execRun"                    string => execresult("/bin/date --rfc-3339=second", "noshell");;
Actions

Also available in: Atom PDF