3 describe 'nova::qpid' do
6 {:puppetversion => '2.7'}
9 describe 'with defaults' do
11 it 'should contain all of the default resources' do
13 should contain_class('qpid::server').with(
14 :service_ensure => 'running',
20 it 'should contain user' do
22 should contain_qpid_user('guest').with(
24 :file => '/var/lib/qpidd/qpidd.sasldb',
25 :realm => 'OPENSTACK',
26 :provider => 'saslpasswd2'
33 describe 'when disabled' do
40 it 'should be disabled' do
42 should_not contain_qpid_user('guest')
43 should contain_class('qpid::server').with(
44 :service_ensure => 'stopped'