Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
puppet_agent 1.4.1
-
None
-
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-4214to 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
- is blocked by
-
PA-1522 Windows MSI downgrades will remove files with lower versions, resulting in corrupted installs
-
- Closed
-
- relates to
-
MODULES-4214 Allow additional MSI parameters to be specified in puppet_agent install
-
- Closed
-
-
DOCUMENT-724 Add documentation about Windows MSI switches to use when downgrading puppet-agent
-
- Closed
-