Project

General

Profile

Actions

Bug #6273

closed

Fatal error in rpmPackageInstallation v7.0, cannot generate policies

Added by Dennis Cabooter about 6 years ago. Updated about 6 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

# cf-agent -KI
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:1: error: syntax error
=======
^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:1: error: Expected attribute, got '='
=======
^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:2: error: Expected '=>', got '='
=======
 ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:3: error: Invalid r-value type '='
=======
  ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:3: error: Attempted to give a value of type null
=======
  ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:4: error: Expected ';' check previous statement, got '='
=======
   ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:5: error: Expected attribute, got '='
=======
    ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:6: error: Expected '=>', got '='
=======
     ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:7: error: Invalid r-value type '='
=======
      ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:339:7: error: Attempted to give a value of type null
=======
      ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:340:32: error: Expected ';' check previous statement, got 'package_version_less_command'
    package_version_less_command  => "${rudder_rpm_knowledge.rpm_compare_less}";
                               ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:340:36: error: Expected attribute, got '=>'
    package_version_less_command  => "${rudder_rpm_knowledge.rpm_compare_less}";
                                   ^
/var/rudder/cfengine-community/inputs/rpmPackageInstallation/7.0/rpmPackageInstallation.cf:340:79: error: Expected '=>', got '"${rudder_rpm_knowledge.rpm_compare_less}"'
    package_version_less_command  => "${rudder_rpm_knowledge.rpm_compare_less}";
                                                                              ^
Too many errors
2015-02-17T15:05:53+0100    error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
Actions #1

Updated by Dennis Cabooter about 6 years ago

  • Subject changed from Fatal error in rpmPackageInstallation/7.0 dirtective to Fatal error in rpmPackageInstallation/7.0 directive

Corrected typo

Actions #2

Updated by Vincent MEMBRÉ about 6 years ago

  • Category set to Techniques
  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
  • Target version set to 3.0.0
Actions #3

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/636
Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

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

Applied in changeset policy-templates:commit:e4cb2794a084b5fec6d372fe859c83fa7fae36dd.

Actions #5

Updated by Benoît PECCATTE about 6 years ago

Applied in changeset policy-templates:commit:831cebbc1b4e8a90db39dfa9eb57cfa9dba690da.

Actions #6

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 3.0.0 to 3.0.1
Actions #7

Updated by Vincent MEMBRÉ about 6 years ago

  • Subject changed from Fatal error in rpmPackageInstallation/7.0 directive to Fatal error in rpmPackageInstallation v7.0, cannot generate policies
Actions #8

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.1, which was released on 2015/02/23

Actions

Also available in: Atom PDF