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

Context is not updated properly when installing multiple packages with an individual package_method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.7
    • Component/s: Promise type: packages
    • Labels:
      None

      Description

      When trying to install more than one package using a package_method configured for individual installation, the context is not properly updated between iterations. For example, when executing the attached code, cf-agent will only try to install one package, because of the ifvarclass, which will be evaluated twice in the context of the first (failed) installation.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            amousset Alexis Mousset
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: