Project

General

Profile

Actions

Bug #5004

closed

Typo in site.st causes promise generation to fail

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

Status:
Released
Priority:
1
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