-
-
Notifications
You must be signed in to change notification settings - Fork 598
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
Override elasticsearch.yml #482
Comments
Hello! You'd use these attributes on
e.g.:
Hope this helps! |
Hi Martin, Thanks for the reply. I have tried the above settings. So in my custom elasticserach.yml file, i have two extra configs, for node.data and node.master
on the chef run with this settings that extra two configs are removed and set to the defaults. do i need to set values for the newly added configs as attribute anywhere? |
Hi @imewish -- where are you setting those values for Also, it's worth noting that, by default, any configuration items added using |
Hi, I wanted to set the node.data,node.master as a node attribute. not in the recipe. As the examples shows in |
Can you show us what you're doing or what you've tried? |
So , What i am trying to do is, I have created a wrapper cookbook by adding elasticsearch as dependency(to be resolved by berkshlef). NB: Im a beginner in chef. sorry if my explanation is not clear. :) |
@imewish No problem -- there are some examples in the README.md. You could easily do something like this:
This is a library cookbook, so it's exposing primitives you can use, but it won't do what you want with node attributes unless you write something like the above. HTH. |
Alright. Thanks for the Help :) |
How can i override the default elasticsearch.ym file with custom file in my wrapper cookbook?
The text was updated successfully, but these errors were encountered: