Reginald Choudari
2012-Nov-19 15:57 UTC
[Puppet Users] Puppet Package Provider Continuously Re-installing Packages
We have specified in our manifests some Package resources to install some self-extracting .exe''s onto our Windows Puppet machines. Currently we are seeing that our agents are running these installers every Puppet run. We have specified ''ensure => installed'' but they are re-installing anyway. We made sure that the installer''s are ''behaving-correctly'' by checking the registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall and confirmed that our installers have the appropriate data in there. We cannot figure out where else to check. Thanks, Reggie -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/m2YS1iIUZIYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh Cooper
2012-Nov-19 17:50 UTC
Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages
Hi Reggie, On Mon, Nov 19, 2012 at 7:57 AM, Reginald Choudari <adnanchowdhury88@gmail.com> wrote:> We have specified in our manifests some Package resources to install some > self-extracting .exe''s onto our Windows Puppet machines. Currently we are > seeing that our agents are running these installers every Puppet run. We > have specified ''ensure => installed'' but they are re-installing anyway. > > We made sure that the installer''s are ''behaving-correctly'' by checking the > registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall and > confirmed that our installers have the appropriate data in there. We cannot > figure out where else to check. > > Thanks, > Reggie > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/m2YS1iIUZIYJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.Most likely, the package name in your manifest does not match the value of the DisplayName property in the registry, which is also the value displayed in Add/Remove Programs. A quick way to verify this is to install the package using puppet. Then run `puppet resource package <name>`, also with the name as displayed in Add/Remove Programs. You should see puppet report that the package is installed. [1] http://docs.puppetlabs.com/windows/writing.html#packagepackage -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Reginald Choudari
2012-Nov-19 19:42 UTC
Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages
Ah this works perfectly, thanks a lot. Reggie On Monday, November 19, 2012 12:50:38 PM UTC-5, Josh Cooper wrote:> > Hi Reggie, > > On Mon, Nov 19, 2012 at 7:57 AM, Reginald Choudari > <adnancho...@gmail.com <javascript:>> wrote: > > We have specified in our manifests some Package resources to install > some > > self-extracting .exe''s onto our Windows Puppet machines. Currently we > are > > seeing that our agents are running these installers every Puppet run. We > > have specified ''ensure => installed'' but they are re-installing anyway. > > > > We made sure that the installer''s are ''behaving-correctly'' by checking > the > > registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall > and > > confirmed that our installers have the appropriate data in there. We > cannot > > figure out where else to check. > > > > Thanks, > > Reggie > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Puppet Users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/puppet-users/-/m2YS1iIUZIYJ. > > To post to this group, send email to puppet...@googlegroups.com<javascript:>. > > > To unsubscribe from this group, send email to > > puppet-users...@googlegroups.com <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > Most likely, the package name in your manifest does not match the > value of the DisplayName property in the registry, which is also the > value displayed in Add/Remove Programs. > > A quick way to verify this is to install the package using puppet. > Then run `puppet resource package <name>`, also with the name as > displayed in Add/Remove Programs. You should see puppet report that > the package is installed. > > [1] http://docs.puppetlabs.com/windows/writing.html#packagepackage > > -- > Josh Cooper > Developer, Puppet Labs >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/gYEHPbcIM4IJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.