Skip to content

Commit

Permalink
Make sure the test for #508 enables a plugin
Browse files Browse the repository at this point in the history
Which discovers a typo that's now corrected.
  • Loading branch information
michaelklishin committed Mar 13, 2019
1 parent c79a96f commit 7a68a09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ suites:
run_list:
- recipe[erlang::default]
- recipe[rabbitmq::default]
- recipe[rabbitmq::management_ui]
attributes:
erlang:
install_method: "esl"
Expand Down
1 change: 1 addition & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ suites:
run_list:
- recipe[erlang::default]
- recipe[rabbitmq::default]
- recipe[rabbitmq::management_ui]
attributes:
erlang:
install_method: "esl"
Expand Down
2 changes: 1 addition & 1 deletion providers/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def plugin_enabled?(name)
ENV['PATH'] = "#{ENV['PATH']}:/usr/lib/rabbitmq/bin"
cmdstr = if rabbitmq_37? && !using_distro_version?
cmdstr = if rabbitmq_37? && !use_distro_version?
"rabbitmq-plugins list -q -e '#{name}\\b'"
else
"rabbitmq-plugins list -e '#{name}\\b'"
Expand Down

0 comments on commit 7a68a09

Please sign in to comment.