-
-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to be able to pass options to elasticsearch_service #334
Comments
Hi there -- so are you mostly looking for toggle flags for enable/disable and start/stop actions on the service? Or are you thinking of other specific options? Cheers. |
Those toggle flags would solve my issues. I could certainly see the case for providing options around the system limit modifications, but they're fine for my use case. |
I merged #357 in earlier today which should allow you to override the init scripts and specify your own actions when configuring the service (e.g. you could now pass :nothing if you don't want the service enabled, or :start if you want it started, etc). Are there other things that you would like to have as options? |
Options have been added to specify a different init script template, as well as a different set of initial actions to perform:
Please open an issue with additional specific options you are looking for with the service resource. Thank you! |
Eg, In cases we don't wish to have the service enabled but do want the cookbook generated init scripts or when we want to use chef to manage starting/stopping the service.
https://github.com/elastic/cookbook-elasticsearch/blob/master/libraries/provider_service.rb#L64-L67
The text was updated successfully, but these errors were encountered: