Skip to content

Commit

Permalink
Merge pull request #543 from tas50/master
Browse files Browse the repository at this point in the history
Fix invalid value_for_platform helper usage
  • Loading branch information
michaelklishin authored Dec 11, 2019
2 parents ca15ee5 + a13a092 commit e98e5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@

# yum
default['rabbitmq']['erlang']['yum']['baseurl'] = value_for_platform(
%w(centos rhel redhat scientific) => {
%w(centos redhat scientific) => {
'< 7.0' => 'https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/22/el/6',
'default' => 'https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/22/el/7'
},
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Chef::Recipe
default_deb_package_name = "rabbitmq-server_#{version}-1_all.deb"

default_rpm_package_name = value_for_platform(
%w(centos rhel redhat scientific) => {
%w(centos redhat scientific) => {
'< 7.0' => "rabbitmq-server-#{version}-1.el6.noarch.rpm",
'default' => "rabbitmq-server-#{version}-1.el7.noarch.rpm"
},
Expand Down

0 comments on commit e98e5bd

Please sign in to comment.