On Apr 15, 2011, at 1:02 AM, Sans wrote:

> Dear all,
> 
> It's probably a newbie question again: What to do to  ensure something
> is "not running" or "not installed" and things like that as oppose to
> "ensure => installed", "ensure => running", etc. ? e.g. if I want to
> make sure that http is not running on certain clients - any way of
> doing that?

For the package example, I'd try "ensure => absent".  I think I remember that 
works.

For the httpd example, I'd try just ensuring that the httpd package isn't 
installed.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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