Skip to content

Commit a6b2f80

Browse files
committed
passing tests
1 parent 835fc66 commit a6b2f80

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class { 'rabbitmq':
121121
* rabbitmq::params: Different configuration data for different systems.
122122
* rabbitmq::service: Handles the rabbitmq service.
123123
* rabbitmq::repo::apt: Handles apt repo for Debian systems.
124-
* rabbitmq::repo::rhel: Handles yum repo for Redhat systems.
124+
* rabbitmq::repo::rhel: Handles rpm repo for Redhat systems.
125125

126126
###Parameters
127127

spec/classes/rabbitmq_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') }
278278

279279
it 'should contain ldap parameters' do
280-
verify_contents(subject, 'rabbitmq.config',
280+
verify_contents(subject, 'rabbitmq.config',
281281
['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}',
282282
' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},',
283283
' {servers, ["ldap.example.com"]},',
@@ -301,7 +301,7 @@
301301
it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') }
302302

303303
it 'should contain ldap parameters' do
304-
verify_contents(subject, 'rabbitmq.config',
304+
verify_contents(subject, 'rabbitmq.config',
305305
['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}',
306306
' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},',
307307
' {servers, ["ldap.example.com"]},',
@@ -460,7 +460,7 @@
460460
it 'should set config variables' do
461461
should contain_file('rabbitmq.config') \
462462
.with_content(/\{inet_dist_listen_min, 9100\}/) \
463-
.with_content(/\{inet_dist_listen_max, 9105\}/)
463+
.with_content(/\{inet_dist_listen_max, 9105\}/)
464464
end
465465
end
466466

@@ -564,7 +564,7 @@
564564
should contain_package('rabbitmq-server').with(
565565
'ensure' => 'installed',
566566
'name' => 'rabbitmq-server',
567-
'provider' => 'yum',
567+
'provider' => 'rpm',
568568
'source' => 'http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.3/rabbitmq-server-3.2.3-1.noarch.rpm'
569569
)
570570
end

0 commit comments

Comments
 (0)