puppet-cinder/spec/classes/cinder_volume_spec.rb
Derek Higgins cde157b822 Set hasstatus => true for cinder services
Fix bug 1170705

notifies to cinder services on RHEL were not causing a restart of the service

Change-Id: I2fa06695acd068d14ff5a13de08538cf992f9005
2013-04-19 09:42:30 -04:00

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