acceptance/eventlet: make sure apache is stopped
When testing upgrades, we have some cases where we apply the wsgi manifest first and then eventlet. The problem is apache which is started so ceilo-api cannot be started because ports are already in use. So this patch installs Apache on eventlet manifest and makes sure the service is stopped before trying to start ceilo-api with eventlet. Change-Id: I4aae37fcbf60e61c0eb8385dedc950674661b592
This commit is contained in:
parent
7d20689bbb
commit
0fb6851f5f
|
@ -8,6 +8,13 @@ describe 'ceilometer with mysql' do
|
|||
pp= <<-EOS
|
||||
Exec { logoutput => 'on_failure' }
|
||||
|
||||
# make sure apache is stopped before ceilometer-api eventlet
|
||||
# in case of wsgi was run before
|
||||
class { '::apache':
|
||||
service_ensure => 'stopped',
|
||||
}
|
||||
Service['httpd'] -> Service['keystone']
|
||||
|
||||
# Common resources
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
|
|
Loading…
Reference in New Issue