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

puppet_agent::install_powershell task should check installed version

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • puppet_agent
    • None
    • 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.
    • Night's Watch
    • 2
    • NW - 2020-05-27, NW - 2020-06-10, NW - 2020-06-24
    • Bug Fix
    • 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.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support