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: I1db195cbbdf914b2592a4e7820d0d2680e630963
This commit is contained in:
parent
86ce4e6cdf
commit
398ec47b02
|
@ -124,6 +124,8 @@ class octavia::wsgi::apache (
|
||||||
include octavia::deps
|
include octavia::deps
|
||||||
include octavia::params
|
include octavia::params
|
||||||
|
|
||||||
|
Anchor['octavia::install::end'] -> Class['apache']
|
||||||
|
|
||||||
::openstacklib::wsgi::apache { 'octavia_wsgi':
|
::openstacklib::wsgi::apache { 'octavia_wsgi':
|
||||||
bind_host => $bind_host,
|
bind_host => $bind_host,
|
||||||
bind_port => $port,
|
bind_port => $port,
|
||||||
|
@ -153,6 +155,5 @@ class octavia::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['octavia::install::end'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue