Ask Your Question

installed package (Windows) does not show w/puppet resource package

asked 2015-05-19 16:51:15 -0500

SteveK gravatar image

I'm an absolute newbie, so please have patience if the answer is obvious.

On a Windows 8.1 machine, I have Puppet 3.7.1 installed. From "Programs and Features", I see that "Microsoft Visual Studio Premium 2013" is installed. When I run puppet resource package, however, that installed package does not show up (lots of others do though).

Can you tell me why this is happening? If so, is there a way to make sure that "Programs and Features" and puppet resource package agree?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-20 14:41:12 -0500

souldonut gravatar image

If I remember correctly, the Windows package provider finds what is installed by scraping the Display Names from HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall. I've had a few packages that just don't show up in Add/Remove or don't show up in Puppet (.NET 4.5x on Windows 2012 is one example). In those cases, if it is a pretty major thing, like .NET, Powershell, SQL Editions, etc... I make a custom fact and base installation logic off an exec resource and that fact.

edit flag offensive delete link more


Thanks for your answer. This is an odd occurrence, because on another machine that has "Microsoft Visual Studio Premium 2013 with Update 4" installed, Puppet sees it. However, it does not see the "Microsoft Visual Studio Premium 2013" (without Update 4) installed on the machine in question.

SteveK gravatar imageSteveK ( 2015-05-21 08:52:51 -0500 )edit

It does also depend on whether the package is considered a system package and/or hidden - in the case of Hidden packages, we've fixed seeing those with PUP-400

rob gravatar imagerob ( 2015-05-26 15:53:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-05-19 16:51:15 -0500

Seen: 188 times

Last updated: May 19 '15