Skip to content

Commit

Permalink
Load rabbitmq_federation plugin first
Browse files Browse the repository at this point in the history
Currently the 'rabbitmq-plguins enable' command does not explicitly
enable the plugin if that is implicitly enabled in CentOS. This change
let the rabbitmq_federation plugin loaded before its management plugin
to workaround the problem.
  • Loading branch information
kajinamit committed Mar 9, 2023
1 parent 4bf60a5 commit b08bd90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion spec/acceptance/parameter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class { 'rabbitmq':
admin_enable => true,
}
rabbitmq_plugin { [ 'rabbitmq_federation_management', 'rabbitmq_federation' ]:
rabbitmq_plugin { [ 'rabbitmq_federation', 'rabbitmq_federation_management' ]:
ensure => present
} ~> Service['rabbitmq-server']
Expand Down
4 changes: 0 additions & 4 deletions spec/acceptance/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ class { 'rabbitmq':
context 'destroy user resource' do
it 'runs successfully' do
pp = <<-EOS
if $facts['os']['family'] == 'RedHat' {
class { 'erlang': repo_source => 'packagecloud' }
Class['erlang'] -> Class['rabbitmq']
}
rabbitmq_user { 'dan':
ensure => absent,
}
Expand Down

0 comments on commit b08bd90

Please sign in to comment.