Merge pull request #106 from enovance/bug/105/goneri
improve global test coverage
This commit is contained in:
		| @@ -242,6 +242,10 @@ class cloud::database::sql ( | ||||
|       group   => 'root'; | ||||
|   } | ||||
|  | ||||
|   # Hack for Debian. The puppet-xinetd module do not correctly reload | ||||
|   # the configuration on “notify” | ||||
|   # TODO(Gonéri): remove this once https://github.com/puppetlabs/puppetlabs-xinetd/pull/9 | ||||
|   # get merged | ||||
|   exec{ 'reload_xinetd': | ||||
|     command     => '/usr/bin/pkill -F /var/run/xinetd.pid --signal HUP', | ||||
|     refreshonly => true, | ||||
|   | ||||
| @@ -82,7 +82,7 @@ describe 'cloud::database::sql' do | ||||
|       it { should contain_file_line('mysqlchk-in-etc-services').with( | ||||
|         :line   => 'mysqlchk 9200/tcp', | ||||
|         :path   => '/etc/services', | ||||
|         :notify => 'Service[xinetd]' | ||||
|         :notify => ['Service[xinetd]', 'Exec[reload_xinetd]'] | ||||
|       )} | ||||
|  | ||||
|       it { should contain_file('/etc/xinetd.d/mysqlchk').with_mode('0755') } | ||||
|   | ||||
| @@ -78,7 +78,7 @@ describe 'cloud::image' do | ||||
|  | ||||
|     it 'configure glance rbd backend' do | ||||
|       should contain_class('glance::backend::rbd').with( | ||||
|           :rbd_store_pool => 'ceph_glance', | ||||
|           :rbd_store_pool => 'images', | ||||
|           :rbd_store_user => 'glance' | ||||
|         ) | ||||
|     end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sebastien Badia
					Sebastien Badia