Issue #13104 has been updated by Josh Cooper. Category changed from unknown to windows Status changed from Rejected to Re-opened Assignee set to Josh Cooper Target version set to Telly Affected Puppet version changed from 2.7.5 to 2.7.6
Sorry, my mistake. This is an issue with the msi package provider. It's not `versionable`, so you can't specify ensure => 'x.y.z'. It also doesn't take into account if the package source is different than the one that is currently installed. Really these are outcomes of not querying the registry to determine the state of what is really is installed. See #11868 You should be able to specify the version of the package in the name, e.g. `adminws-1.0.49`. This is hack, but should resolve the issue for the immediate time. ---------------------------------------- Feature #13104: Detect if newer version of MSI is available for upgrade https://projects.puppetlabs.com/issues/13104#change-56970 Author: Collaboration TR Status: Re-opened Priority: Normal Assignee: Josh Cooper Category: windows Target version: Telly Affected Puppet version: 2.7.6 Keywords: Branch: 1. Create 2 MSI packages with different version. 2. Install the first package on target system via puppet. 3. Install the second package on target system via puppet without uninstalling the first package first Note : We modified the MSI package to automatically uninstall the old version and install the new one on top of the old one right away if the new one has higher version number. This is tested manually and it works. **Expected result** - Newer package with higher version number is installed successfully on target system via puppet. **Result** - First package is installed successfully on the target system via puppet. - Second(newer) package is NOT installed on the target system via puppet. - Changing init.pp script to use the following line for second package caused error * ensure = >'[version number]' or ensure => latest* some error msg was thrown stating that the provider does not support "versionable" -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
