Actions
Bug #6692
closedUser story #6589: Improve Rudder security in 3.1: Inventory signature and security, SELinux compliance
Architecture #6355: Agent should sign their inventory using their private key
Bug #6687: bundle sendInventoryToCmdb tries to send .sign files to the endpoint
Syntax error in site.cf
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
There is a missing ";":
==> centos7_agent1: rudder-agent[13327]: [INFO] Using /etc/default/rudder-agent for configuration ==> centos7_agent1: rudder-agent[13330]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir ==> centos7_agent1: rudder-agent[13331]: [INFO] Launching CFEngine Community cf-serverd... ==> centos7_agent1: /var/rudder/cfengine-community/inputs/common/1.0/site.cf:139:33: error: syntax error ==> centos7_agent1: "inventory_upload_protocol" string => "http"; ==> centos7_agent1: ^ ==> centos7_agent1: /var/rudder/cfengine-community/inputs/common/1.0/site.cf:139:33: error: Check previous line, Expected ';', got '"inventory_upload_protocol"' ==> centos7_agent1: "inventory_upload_protocol" string => "http"; ==> centos7_agent1: ^ ==> centos7_agent1: /var/rudder/cfengine-community/inputs/common/1.0/site.cf:139:48: error: Expected promiser string, got 'string' ==> centos7_agent1: "inventory_upload_protocol" string => "http"; ==> centos7_agent1: ^ ==> centos7_agent1: /var/rudder/cfengine-community/inputs/common/1.0/site.cf:139:51: error: Expected ';', got '=>' ==> centos7_agent1: "inventory_upload_protocol" string => "http"; ==> centos7_agent1: ^ ==> centos7_agent1: 2015-06-03T08:50:30+0000 error: There are syntax errors in policy files ==> centos7_agent1: 2015-06-03T08:50:30+0000 error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"' ==> centos7_agent1: 2015-06-03T08:50:30+0000 error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe
site.cf:
"uncompressed_inventory_file_types" slist => { ".*.ocs" }; "inventory_file_types" slist => { "@{uncompressed_inventory_file_types}", ".*.gz" }; "signed_inventory_file_types" slist => { "@{inventory_file_types}", ".*\.sign" } "inventory_upload_protocol" string => "http";
Actions