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
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
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
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