On Nov 19, 12:25 pm, Rudy Gevaert <rudy.geva...@gmail.com> wrote:
> I'm trying to get around the following issue.  I want to make sure if
> a service is stopped.  I'm trying to do this is solaris but I don't
> think this is OS specific.

[...]

> when the software is not installed it can not check:
> info: Service[sendmail](provider=smf): Could not get status on service
> sendmail

You are asking for Puppet to ignore the difference between two
distinct system states:

1) sendmail is installed but not running, and
2) sendmail is not installed.

The smf provider could surely be locally modified to do that, and that
might prove convenient for you.  I don't favor that as default
behavior, however.

What about choosing just one of the above options and enforcing that?
Puppet can handle either.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to