
Fix bug 1170705 notifies to cinder services on RHEL were not causing a restart of the service Change-Id: I2fa06695acd068d14ff5a13de08538cf992f9005
19 lines
363 B
Ruby
19 lines
363 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'cinder::volume' do
|
|
|
|
let :pre_condition do
|
|
'class { "cinder": rabbit_password => "fpp", sql_connection => "mysql://a:b@c/d" }'
|
|
end
|
|
|
|
let :facts do
|
|
{:osfamily => 'Debian'}
|
|
end
|
|
|
|
it { should contain_package('cinder-volume') }
|
|
it { should contain_service('cinder-volume').with(
|
|
'hasstatus' => 'true'
|
|
)}
|
|
|
|
end
|