Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10653

puppet_agent::install_powershell task should check installed version

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      When specifying an exact version of puppet agent, the install_powershell.ps1 script should skip installation if the desired version of puppet agent is already installed.

      Show
      When specifying an exact version of puppet agent, the install_powershell.ps1 script should skip installation if the desired version of puppet agent is already installed.
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2020-05-27, NW - 2020-06-10, NW - 2020-06-24
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The `puppet_agent::install_powershell` and `puppet_agent::install` tasks don't run anymore on Windows nodes when the desired version is already installed and fails when `puppet agent` or `pxp-agent` services are running.
    • QA Risk Assessment:
      Needs Assessment

      Description

      I'm using the puppet_agent::install Bolt task to install puppet agent on Windows machines. However, I've noticed that if I specify a specific version of puppet agent to install, the PowerShell script will always download and install the puppet agent MSI; regardless of if the correct version of puppet agent is already installed.

      I would expect the powershell task script to check if puppet agent is installed and the desired version, then if it is it wouldn't download/install again.

        Attachments

          Activity

            People

            Assignee:
            luchian.nemes Luchian Nemes
            Reporter:
            krische Brian Krische
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support