On Friday, April 12, 2013 3:57:49 PM UTC-5, Kubes wrote:
>
> Does puppet have a menas to do what chkconfig --del does?
>
>
Puppet can run "/sbin/chkconfig --del foo" for you via an Exec, but why 
would you want to do that?

The closest the built-in Service resource type will do is this:

service { 'foo': enable => false }

On a node that relies on chkconfig for service management, that should 
perform "/sbin/chkconfig foo off".  That's what you should do to prevent 
the service from starting at boot if you don't want to altogether uninstall 
it.  If you do want to uninstall it then you should uninstall its package 
and rely on that to remove it from the chkconfig list.


John

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to