Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2112

yum package_module does not work with package names containing dots

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Promise type: packages
    • Labels:
      None
    • Platform:
      RHEL or CentOS

      Description

      The yum package_module in the new packages promise throws an error for any package name containing a dot. The yum package_method from the deprecated packages promise succeeds for the same package list.

      Attached files for testing:
      dotpackages_new.cf - uses new yum package_module, generates error
      dotpackages_old.cf - uses old yum package_method, succeeds

      Example error message (visible with cf-agent -KIv -D DEBUG and also in /var/log/messages):
      verbose: Package module returned with non zero return code: 1
      info: Some error occurred while communicating with package module while collecting package data.
      info: Can not obtain package data for promise: java-1.8.0-openjdk

      OS: CentOS 7.1.1503
      CFEngine: 3.7.0
      Reproducible: every time

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                neile.havens@wheaton.edu Neile Havens
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel