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

Package promise allows installation of package file with conflicting version

    XMLWordPrintable

    Details

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

      Description

      Given the following promise:

      <pre>
      packages:
      "/tmp/my-package-2.0.deb
      policy => "present",
      version => "1.0";
      </pre>

      CFEngine will allow installing the package despite that its version doesn't match what was specified in the promise. It should refuse to do so.

      See https://dev.cfengine.com/issues/7328#note-8 for the original discussion and logs.

        Attachments

          Activity

            People

            • Assignee:
              a10053 Marcin Pasinski
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel