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
#100 Don't seem to be able to change the version #165
Conversation
This is one approach, with one rather big downside, if I'm not mistaken -- users can't set |
Ping. I have the same issue. in my cookbook, I added in normal[:elasticsearch][:version] = '1.1.0' And this create:
but
as you can see, the version inside the 1.1 folder is How can I fix that ? |
I'm torn between this approach and what I added in #180 (comment). See the linked article: https://coderanger.net/derived-attributes/ Moreover, I'm really wary of any invasive change to the cookbook, I don't have the bandwidth to properly test it etc. |
Hi there -- we've promoted a new, fully re-written branch to master on this cookbook. We've discovered Github actually automatically closes all PRs when the branch they're made onto is moved. Please consider re-opening/resubmitting if your PR still applies to the re-written cookbook. I apologize for the automatic close that Github made on this PR. Thank you! |
This change allows to overwrite the elasticsearch version in a role and fixes the issues that the new version didn't got downloaded.
role.rb
....
override_attributes({
:elasticsearch => {
:version => "0.90.7"
}
})