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: I565a99c138fa99bbc350c196bc19d06e40e07e4f
This commit is contained in:
Takashi Kajinami 2022-01-11 18:47:50 +09:00
parent 5872700dbb
commit 61a7ebc844

View File

@ -118,6 +118,8 @@ class magnum::wsgi::apache (
include magnum::deps
include magnum::params
Anchor['magnum::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'magnum_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -146,6 +148,5 @@ class magnum::wsgi::apache (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['magnum::install::end'],
}
}