Issue #17951 has been updated by Josh Cooper.

Assignee set to Andrew Dunkman

Hi Andrew, did specifying the PackageCode for the package name resolve the 
issue?
----------------------------------------
Bug #17951: Windows package provider does not re-run installation when 
subscription updates
https://projects.puppetlabs.com/issues/17951#change-80006

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.

Reply via email to