Issue #10980 has been updated by Jason Koppe.
R.I. Pienaar wrote: > Packages tend to do the --add in the post install scripts. You're basically > just not installing the software properly This seems like a weak argument for not fixing this in Puppet. Over time, with Puppet & Chef, I expect (hope) that scripts in packages (RPMs, DEBs) will begin to become less complex as our modules and recipes will contain more logic. Additionally, what about systems which instantiate multiple services from one package? For example, I install elasticsearch (and mongodb, and redis, and apache httpd) and run two separate instances of the elasticsearch per node. Such service instances would not be able to rely on the package's chkconfig --add. In the case of mongodb or redis or any datastore, this could lead to some data issues when we do shutdown -r now and SysV init doesn't stop the process like it should. ---------------------------------------- Bug #10980: Service provider in RedHat will not create K?? stop scripts https://projects.puppetlabs.com/issues/10980#change-83490 Author: Andoni Auzmendi Status: Accepted Priority: Normal Assignee: Category: service Target version: Affected Puppet version: 2.7.6 Keywords: service redhat linux enable Branch: When a service is set to be enabled the provider/service/redhat.rb provider will run "/sbin/chkconfig $name on" which will only create the links for starting the service but will not for stopping it. The correct command is "/sbin/chkconfig --add $name". This is important for those services that require stopping cleanly before other services. -- 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://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
