Skip to content

Commit b08bd90

Browse files
committed
Load rabbitmq_federation plugin first
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.
1 parent 4bf60a5 commit b08bd90

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

spec/acceptance/parameter_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class { 'rabbitmq':
1616
admin_enable => true,
1717
}
1818
19-
rabbitmq_plugin { [ 'rabbitmq_federation_management', 'rabbitmq_federation' ]:
19+
rabbitmq_plugin { [ 'rabbitmq_federation', 'rabbitmq_federation_management' ]:
2020
ensure => present
2121
} ~> Service['rabbitmq-server']
2222

spec/acceptance/user_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ class { 'rabbitmq':
4141
context 'destroy user resource' do
4242
it 'runs successfully' do
4343
pp = <<-EOS
44-
if $facts['os']['family'] == 'RedHat' {
45-
class { 'erlang': repo_source => 'packagecloud' }
46-
Class['erlang'] -> Class['rabbitmq']
47-
}
4844
rabbitmq_user { 'dan':
4945
ensure => absent,
5046
}

0 commit comments

Comments
 (0)