Bug #4996
Updated by Vincent MEMBRÉ over 10 years ago
I have a freshly installed rudder Server 2.6 that I upgraded directly in 2.10 and when rudder-agent is restarted I got the following errors:
<pre>
udder-agent[17881]: [INFO] Launching CFEngine Community cf-serverd...
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:306:53: error: syntax error
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:306:53: error: Expected attribute, got ','
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:21: error: Expected promiser string, got 'select_region'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:24: error: Expected ';', got '=>'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:36: error: Expected promiser string, got 'INI_section'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:37: error: Expected ';', got '('
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:54: error: Expected ';', got ')'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:55: error: Expected promiser string, got ','
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:374:53: error: syntax error
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:374:53: error: Expected attribute, got ','
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:21: error: Expected promiser string, got 'select_region'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:24: error: Expected ';', got '=>'
select_region => INI_section("$(sectionName)"),
^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:36: error: Expected promiser string, got 'INI_section'
select_region => INI_section("$(sectionName)"),
^
</pre>
However If I regenerate once my policies I don't have that problem.