Issue #17951 has been updated by Andrew Dunkman.
Unfortunately, I don't know the PackageCode for the MSI. The problem is that we're using Puppet as part of a continuous integration environment. Puppet fetches the latest MSI from a URL and sends it off to the node to be installed. The file provider works excellently; the hashes of the MSIs are compared and copied only if the file has changed. We have got around this issue by using an exec command of msiexec which is refreshed by the file command; I just feel as if I should be able to refresh the package command in the same way. ---------------------------------------- Bug #17951: Windows package provider does not re-run installation when subscription updates https://projects.puppetlabs.com/issues/17951#change-80889 Author: Andrew Dunkman Status: Needs More Information Priority: Normal Assignee: Andrew Dunkman Category: windows Target version: Affected Puppet version: 3.0.1 Keywords: windows msi Branch: I have a directory of MSIs that are copied to nodes and run to install products; newer versions of MSIs install cleanly over older versions. What I would like to do is install the product either 1. when the product is not yet installed or 2. when the source file changes. The first point is easy with the windows package provider, the second point seems impossible using the windows package provider. The provider seems to ignore its subscriptions. file { 'c:/packages/myinstaller.msi': ensure => 'file', mode => '1777', owner => 'administrator', group => 'Administrators', source => 'puppet:///...', notify => Package['My Product'], } package { 'My Product': ensure => installed, source => 'c:\\packages\\myinstaller.msi', } -- 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.
