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

puppet-agent upgrade should specify Windows MSI REINSTALLMODE

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • puppet_agent 1.4.1
    • None
    • puppet_agent
    • None
    • Windows
    • Windows Kanban
    • Needs Assessment

    Description

      Windows installer behavior may corrupt Puppet installations when downgrading a newer puppet-agent version to an older puppet-agent version, by removing files that the application needs.

      One strategy for dealing with this problem is to provide additional arguments to msiexec.exe during installation to force files always get copied. The agent upgrade module already supports arbitrary argument passing as part of MODULES-4214 / https://github.com/puppetlabs/puppetlabs-puppet_agent/commit/458a747ba58c80136125eadea7a043cfc7b7ca4e

      PA-1522 covers verifying that the new property value works (and setting it by default in the MSI). Given installers have already shipped and cannot be fixed, we must document this workaround for end users.

      DOCUMENT-724 covers adding this to our installation docs.

      This ticket is about either:

      • Adding a note to the README as a known issue for anyone wishing to downgrade, and how to use the existing support from MODULES-4214 to work around the problem
      • Automatically supplying the REINSTALLMODE value so that a user doesn't have to do this, as we're aware this is a universal problem - the hitch there is dealing with a situation where a user wants to override our value

      Attachments

        Issue Links

          Activity

            People

              john.oconnor John O'Connor
              ethan Ethan Brown
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support