Re: [Puppet Users] Puppet Windows: msi packages removal

2011-11-22 Thread Mohamed Lrhazi
and then, indeed, maybe the provider could take a helper hint about how to go about detecting the presence of a package, kind of like Service takes hints about how to detect a service is running or not... Then maybe: detect_with_file => "C:\\Program Files\\Splunk\\bin\\splunk.exe" Thanks, Mohamed

Re: [Puppet Users] Puppet Windows: msi packages removal

2011-11-22 Thread Mohamed Lrhazi
I think the documentation about package providers should include something about this... Right now a provider has these features: holdableinstall_options installable purgeable uninstallable upgradeable versionable Maybe something like: detectable Meaning the provider can

Re: [Puppet Users] Puppet Windows: msi packages removal

2011-11-22 Thread Jacob Helwig
On 2011-11-22 07:10 , Mohamed Lrhazi wrote: > I noticed that is if I uninstall an MSI that was installed by Puppet, > Puppet does not notice. > > Looking at the source I see it might be checking for a state file to > know whether a package is installed or not: > C:\ProgramData\PuppetLabs\puppet\va

[Puppet Users] Puppet Windows: msi packages removal

2011-11-22 Thread Mohamed Lrhazi
I noticed that is if I uninstall an MSI that was installed by Puppet, Puppet does not notice. Looking at the source I see it might be checking for a state file to know whether a package is installed or not: C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\SplunkForwarder.yml So one has to reme