-
Notifications
You must be signed in to change notification settings - Fork 117
Implement zookeeper_service #86
Comments
What's the status of this, @jakedavis? Had some great momentum going! |
Ha, status is we have a service internally and maybe I should slurp it into this cookbook :) I think I did take a swing at a Thinking at the least we can add a |
@jakedavis sounds like a great path to tread to get this to a minimally working state. Thanks also for access to SimpleFinance/chef-exhibitor. |
Alright, took a swing at it in #91 |
Since we usually use upstart to manage services, here's a stab at some upstart supprt |
Is there some way to control what user zookeeper is run as using runit? If I use systemv, zookeeper runs as zookeeper. But with runit, it always seems to start up as root. |
@corbesero that’d be a separate issue, which I’ve opened here: #166. This issue is meant to cover a refactor of how the service is set up; it should be refactored as its own custom resource. |
I think this would best be served as part of a larger refactor of the LWRPs into Chef 12.5-style custom resources. |
Recipe → custom resource! Closes #86 The runit_service template can be overridden if the operator wants to supply their own runit service template
Recipe → custom resource! Closes #86 The runit_service template can be overridden if the operator wants to supply their own runit service template
Recipe → custom resource! Closes #86 The runit_service template can be overridden if the operator wants to supply their own runit service template
Recipe → custom resource! Closes #86 * The service template can be overridden if the operator wants to supply their own service script template
Recipe → custom resource! Closes #86 * The service template can be overridden if the operator wants to supply their own service script template
Recipe → custom resource! Closes #86 * The service template can be overridden if the operator wants to supply their own service script template
The Zookeeper docs recommend process supervision. As a baseline, we should have a resource which basically calls
zkServer.sh start
. But as a more resilient solution, we should probably have a Runit option, and possibly others depending on peoples' cup of tea.The text was updated successfully, but these errors were encountered: