Skip to content

Instantly share code, notes, and snippets.

@fbettag
Created June 21, 2013 21:20
Show Gist options
  • Save fbettag/5834426 to your computer and use it in GitHub Desktop.
Save fbettag/5834426 to your computer and use it in GitHub Desktop.
root@cfe /var/cfengine/masterfiles]# cf-agent -KI
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:308:55: error: syntax error
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:308:55: error: Expected attribute, got ','
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:29: error: Expected promiser string, got 'select_region'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:32: error: Expected ';', got '=>'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:44: error: Expected promiser string, got 'INI_section'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:45: error: Expected ';', got '('
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:62: error: Expected ';', got ')'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:309:63: error: Expected promiser string, got ','
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:378:55: error: syntax error
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:378:55: error: Expected attribute, got ','
"$(index)=$($(tab)[$(sectionName)][$(index)])",
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:379:29: error: Expected promiser string, got 'select_region'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:379:32: error: Expected ';', got '=>'
select_region => INI_section("$(sectionName)"),
^
/var/cfengine/inputs/libraries/cfengine_stdlib.cf:379:44: error: Expected promiser string, got 'INI_section'
select_region => INI_section("$(sectionName)"),
^
Too many errorsCFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe
Can't stat file "/var/cfengine/inputs/failsafe.cf" for parsing
!!! System reports error for stat: "No such file or directory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment