|
277 | 277 | it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') } |
278 | 278 |
|
279 | 279 | it 'should contain ldap parameters' do |
280 | | - verify_contents(subject, 'rabbitmq.config', |
| 280 | + verify_contents(subject, 'rabbitmq.config', |
281 | 281 | ['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}', |
282 | 282 | ' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},', |
283 | 283 | ' {servers, ["ldap.example.com"]},', |
|
301 | 301 | it { should contain_rabbitmq_plugin('rabbitmq_auth_backend_ldap') } |
302 | 302 |
|
303 | 303 | it 'should contain ldap parameters' do |
304 | | - verify_contents(subject, 'rabbitmq.config', |
| 304 | + verify_contents(subject, 'rabbitmq.config', |
305 | 305 | ['[', ' {rabbit, [', ' {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},', ' ]}', |
306 | 306 | ' {rabbitmq_auth_backend_ldap, [', ' {other_bind, anon},', |
307 | 307 | ' {servers, ["ldap.example.com"]},', |
|
460 | 460 | it 'should set config variables' do |
461 | 461 | should contain_file('rabbitmq.config') \ |
462 | 462 | .with_content(/\{inet_dist_listen_min, 9100\}/) \ |
463 | | - .with_content(/\{inet_dist_listen_max, 9105\}/) |
| 463 | + .with_content(/\{inet_dist_listen_max, 9105\}/) |
464 | 464 | end |
465 | 465 | end |
466 | 466 |
|
|
564 | 564 | should contain_package('rabbitmq-server').with( |
565 | 565 | 'ensure' => 'installed', |
566 | 566 | 'name' => 'rabbitmq-server', |
567 | | - 'provider' => 'yum', |
| 567 | + 'provider' => 'rpm', |
568 | 568 | 'source' => 'http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.3/rabbitmq-server-3.2.3-1.noarch.rpm' |
569 | 569 | ) |
570 | 570 | end |
|
0 commit comments