On Thu, May 5, 2011 at 10:18 PM, Chris Phillips <ch...@untrepid.com> wrote:

> Howdy,
>
> Can someone enlighten me as to how I can disable a service *IF* it is
> installed? I want to ensure rsyslog is installed and running, which requires
> syslogd to not be running, but the only way I can see to enforce this in
> Puppet is to remove the sysklogd package, which I'd rather not do, I'd
> rather just disable the service if it's there, but can't see how.
>
if you don't need the software, don't install it (or ensure its removed).
if you need it, tell puppet to ensure its installed and running....

for this specific case, if you use syslog-ng for example, you can ensure
that its running, but not sysklogd.

my 2 cents.

Ohad

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