Serverspec updates

Whilst I don't believe anyone uses these tests, I've gone ahead and
cleaned up some of the obvious failures.  There are two remaining
heat keystone failures due to duplicate heat keystone service names,
which I am going to leave for now.
This commit is contained in:
Matt Thompson 2014-09-01 15:19:14 +01:00
parent 22dd0baba7
commit e73c9cfe9d
3 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,3 @@ end
describe process('cinder-volume') do
it { should be_running }
end
describe kernel_module('dm_snapshot') do
it { should be_loaded }
end

View File

@ -8,7 +8,7 @@ pip_packages = %w( oslo.config MySQL-python )
directories = %w( /opt/horizon /opt/horizon/lib/python2.7/site-packages)
conf_files = %w( /etc/apache2/conf-enabled/openstack-dashboard.conf
conf_files = %w( /etc/apache2/sites-available/openstack-dashboard.conf
/opt/horizon/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py )
os_packages.each do |os|
@ -47,6 +47,10 @@ conf_files.each do |f|
end
end
describe file('/etc/apache2/sites-enabled/openstack-dashboard.conf') do
it { be_linked_to '/etc/apache2/sites-available/openstack-dashboard.conf' }
end
describe service('apache2') do
it { should be_enabled }
it { should be_running }

View File

@ -1,6 +1,6 @@
require 'spec_helper'
os_packages = %w( libpq-dev dnsmasq )
os_packages = %w( libpq-dev dnsmasq-base )
pip_packages = %w( MySQL-python repoze.lru python-novaclient
python-neutronclient python-keystoneclient )