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: Id4cfa06790d47c30ea65d69b8143b004c9f0f12b
This commit is contained in:
parent
8f4e5c9d6d
commit
4b6198fae3
|
@ -137,6 +137,8 @@ class mistral::wsgi::apache (
|
|||
include mistral::deps
|
||||
include mistral::params
|
||||
|
||||
Anchor['mistral::install::end'] -> Class['apache']
|
||||
|
||||
::openstacklib::wsgi::apache { 'mistral_wsgi':
|
||||
bind_host => $bind_host,
|
||||
bind_port => $port,
|
||||
|
@ -166,6 +168,5 @@ class mistral::wsgi::apache (
|
|||
error_log_file => $error_log_file,
|
||||
custom_wsgi_process_options => $custom_wsgi_process_options,
|
||||
vhost_custom_fragment => $vhost_custom_fragment,
|
||||
require => Anchor['mistral::install::end'],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue