Issue #1219 has been updated by Ingemar Nilsson.
David Lutterkort wrote: > If puppet wants to be extra thorough, it should check that links have been > set up by running 'chkconfig --list service', and if that produces an error, > run 'chkconfig --add' again; this will be particularly important for systems > that have been broken by puppet's erroneous 'chkconfig --del' I would have suggested it if you hadn't done so already. Earlier versions of Puppet has broken many services on our systems by using "chkconfig --del servicename", and IIRC, trying to run "chkconfig servicename on/off" results in an error for such a service. It would be nice to include code that cleans up the breakage that the earlier version caused, so that the sysadmins won't have to do that manually. ---------------------------------------- Bug #1219: Disabling a service on Red Hat systems should use 'chkconfig service off', not 'chkconfig --del service' http://projects.reductivelabs.com/issues/1219 Author: Ingemar Nilsson Status: Re-opened Priority: Normal Assigned to: Luke Kanies Category: service Target version: Patch: Code Affected version: 0.25.1 Keywords: Branch: Currently, if I disable a service with enable => false, Puppet seems to run 'chkconfig --del servicename'. This is incorrect, as it removes the service from chkconfig management. The correct way is to use 'chkconfig servicename off'. One of the bad effects of the current behavior is that 'chkconfig --del servicename' removes all the /etc/rc*.d/K*servicename links, which are there to make sure that temporarily started services are allowed to gracefully shutdown on a system shutdown. They are preserved when 'chkconfig servicename off' is used. Obviously this also means that enable => true should result in a 'chkconfig servicename on' instead of the current 'chkconfig --add servicename'. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
