3 describe 'cinder::qpid' do
6 {:puppetversion => '2.7',
10 describe 'with defaults' do
12 it 'should contain all of the default resources' do
14 should contain_class('qpid::server').with(
15 :service_ensure => 'running',
21 it 'should contain user' do
23 should contain_qpid_user('guest').with(
25 :file => '/var/lib/qpidd/qpidd.sasldb',
26 :realm => 'OPENSTACK',
27 :provider => 'saslpasswd2'
34 describe 'when disabled' do
41 it 'should be disabled' do
43 should_not contain_qpid_user('guest')
44 should contain_class('qpid::server').with(
45 :service_ensure => 'stopped'