Issue #19747 has been updated by Charlie Sharpsteen. Status changed from Unreviewed to Closed Assignee set to Charlie Sharpsteen
Klavs Klavsen wrote: > I found, that if you set the "name" part to what is in the DisplayName key > (after installation of the package) - then it works. This is the expected behavior. The type documentation for packages states that the `name` parameter should be set to "the name that the packaging system uses internally". The Windows documentation states that for Windows packages, this is `DisplayName`: <http://docs.puppetlabs.com/windows/writing.html#packagepackage> > Perhaps puppet should compare the list of installed package "displaynames" > before and after each package install - so it can figure out what the > Displayname of the just installed package is - and then compare that against > the "name" given in the manifest - and complain to the user, if it's wrong - > as to catch these problems ? This functionality could be contributed through a pull request. A feature request could also be opened for consideration by the developers. I'm going to close this specific issue as "not a bug" as the current situation matches the documented behavior of the Windows package providers. ---------------------------------------- Bug #19747: package on windows installs package EVERY time https://projects.puppetlabs.com/issues/19747#change-87172 * Author: Klavs Klavsen * Status: Closed * Priority: Normal * Assignee: Charlie Sharpsteen * Category: * Target version: * Affected Puppet version: * Keywords: windows 2003 * Branch: ---------------------------------------- I have this in my profile: package { "NetFx40inst": source => '\\Ks-software01\SW\Install\Server\AutomatiseringsRepository\dotNetFx40_Full_x86_x64.exe', install_options => [ '/q', '/norestart', '/log C:\Temp\NetFx40.htm'] } This makes puppet install the package - and it works fine. I can see the installed program under "add or remove programs" dialogue. Next time I run puppet - it runs the installation again :( -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
