Does puppet have a menas to do what chkconfig --del does? -- 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+unsubscribe@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.
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+unsubscribe@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.
Thanks! In short need to sort through what is thinks are dependencies. Rather remove then entier package, but until all that is sorted out.... Yeap that works and was the way I was going to go. Now I need to figure out a means to run only once. Thanks again. On Monday, April 15, 2013 8:56:25 AM UTC-4, jcbollinger wrote:> > > > 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+unsubscribe@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.