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

cfengine-community ubuntu package can't enforce any package promise on clean Ubuntu Server 15.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Documentation
    • Labels:
      None

      Description

      cfengine-community 3.7.2 installed through package can't enforce any package promise. IT presents the following error:

      error: unsupported package module wrapper API version: -1
      error: Some error occurred while contacting package module - promise: ssmtp

      When deliang with the promise below.

      1. cat fabrica/testepkg.cf

      bundle agent testepkg

      { packages: "ssmtp" policy => "present", package_module => apt_get, comment => "Checking for smtpavailability", handle => "install_ssmtp", version => "latest"; }

      The problem seems to be that Ubuntu Server 15.10 doesn't have python installed by default, cfengine-community needs it but doesn't include python on it's dependencies list.

      Manually installing python masks the issue.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              rsevero Rodrigo Severo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel