-
Notifications
You must be signed in to change notification settings - Fork 114
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
render config pillar as config file #12
render config pillar as config file #12
Conversation
@martinhoefling @kpostrup ping! |
@blbradley, I don't see a simple solution than to break backward compatibility.... |
@aboe76 Whether that is a good idea or not is another matter. Doing this will break someone's setup now or later, but a deprecation warning for some time would be ideal. On the other hand, users should be keeping there own forks and expecting breaking changes anytime they upgrade (which has been my feelings in practice). |
I should also be explict: I'm fine with breaking changes. |
ae5be74
to
4df0f58
Compare
Rebased test suite and added some conditionals to pass. |
@aboe76 If you choose to merge, please 'Squash and Merge'. |
It would be wise to add another set of tests that verify this works when |
@blbradley so we are dropping elasticsearch.config['custom_options'] %} shouldn't this be mentioned in the README? and dropped from the pillar.example? |
@aboe76 You are correct. I'll look to see how other formulas show deprecation warnings in documentation. |
@blbradley maybe we should ping @gravyboat maybe he has some nice info on how to make an option pillar option deprecated... |
The only thing I could find was some formulas having a |
@blbradley than let's do that. |
Feel free to add to the note if you feel it is not clear enough. |
Ok done, merged it. |
Thanks for the squash! |
Good to see this change made :) |
Hello!
I'd like to reduce the complexity of the formula via
file.serialize
to render the config pillar directly to the Elasticsearch YAML config file. This works excellently since Elasticsearch comes with great defaults.The only issue here will be maintaining backward compatibility with
custom_options
. I haven't done there here yet but would like to try.