Hi All,

I need to check if a service or a package is already installed before 
running the further code.

Eg:

Install bigfix package if bigfix service dose not exist.

i know ensure => true will do this, but there is a possibility that bigfix 
was installed from the source in c:\bigfix on few server and on few its 
installed as a msi and i can see it under add remove programs.

So the best way is to check if the bigfix service exists or not, if exist 
ignore if not install via puppet.

Any pointers ?

-Kaustubh

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e3040275-e4d9-46b2-bc01-386204d670e6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to