-
Notifications
You must be signed in to change notification settings - Fork 423
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
addition of attributes for downloading deb, rpm and esl-erlang-compat #220
Conversation
Please add some specs for these changes. |
Hi, I'll be glad to but I'm not quite sure how to add more to the spec tests than is provided, both rabbitmq deb and rpm files already have checks for availability in the cache path and checks for installation. |
It seems there are already specs to test we are getting the appropriate files : If this PR passes tests, it means the new attributes are not breaking the expected/previous behaviour, but allow to change the source if you need to, which is good. We could add some context in the specs changing the attributes and testing it's not using parameters for remote_files, but I'm not sure of the value to do so. In addition in the specs we already use the version https://github.com/jjasghar/rabbitmq/blob/master/spec/default_spec.rb#L79. , so those new attribute are tested. We really need this PR, because lately ps : thanks for the Pr @dannietjoh |
I agree with the comments made by @jujugrrr. The existing tests should be enough as they test the creation of the remote file. If the attributes don't have the correct value the test will flag it. |
I cherry-picked this and am testing now |
It's a really nice PR especially now when rabbitmq artifacts are non accessible on official site. Please read https://groups.google.com/forum/#!topic/rabbitmq-users/Ov0k_Xp0C3Y |
👍 looking forward to seeing this merged. |
working on getting this released this week. Thank you for your patience. |
addition of attributes for downloading deb, rpm and esl-erlang-compat
added attributes that allow configuration of the download url and package name for rabbitmq deb and rpm and esl-erlang-compat rpm, for example for those that do not have the luxury to connect production environments to the outside world.