Fix dependency to purge default vhost config
It turned out defining dependency for openstacklib::wsgi::apache doesn't properly enforce resource order and the default vhost file is not purged properly. This change adds the more explicit dependency to enforce the order properly. Change-Id: If1d6f9bcb7c1644daf9c54dda7d2d0130e19a595
This commit is contained in:
parent
f159b6da02
commit
007e331d87
|
@ -132,6 +132,8 @@ class vitrage::wsgi::apache (
|
||||||
include vitrage::deps
|
include vitrage::deps
|
||||||
include vitrage::params
|
include vitrage::params
|
||||||
|
|
||||||
|
Anchor['vitrage::install::end'] -> Class['apache']
|
||||||
|
|
||||||
::openstacklib::wsgi::apache { 'vitrage_wsgi':
|
::openstacklib::wsgi::apache { 'vitrage_wsgi':
|
||||||
bind_host => $bind_host,
|
bind_host => $bind_host,
|
||||||
bind_port => $port,
|
bind_port => $port,
|
||||||
|
@ -160,6 +162,5 @@ class vitrage::wsgi::apache (
|
||||||
access_log_format => $access_log_format,
|
access_log_format => $access_log_format,
|
||||||
error_log_file => $error_log_file,
|
error_log_file => $error_log_file,
|
||||||
custom_wsgi_process_options => $custom_wsgi_process_options,
|
custom_wsgi_process_options => $custom_wsgi_process_options,
|
||||||
require => Anchor['vitrage::install::end'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue