Project

General

Profile

Actions

Bug #6692

closed

User 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

Added by Alexis Mousset over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
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 #1

Updated by Alexis Mousset over 9 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Vincent MEMBRÉ
  • Parent task set to #6687
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/679/files
Actions #3

Updated by Alexis Mousset over 9 years ago

  • Assignee changed from Vincent MEMBRÉ to Matthieu CERDA
Actions #4

Updated by Alexis Mousset over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Matthieu CERDA over 9 years ago

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.0~beta1 which were released today.

Actions

Also available in: Atom PDF