Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages

Josh Cooper
Mon, 19 Nov 2012 17:50:29 -0000

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