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: Iabcc24fb05f88760f9f7b806cc3baa86aff416f4
This commit is contained in:
Takashi Kajinami 2022-01-11 18:51:10 +09:00
parent 50b83bde55
commit b2f39ce9cc

View File

@ -129,6 +129,8 @@ class neutron::wsgi::apache (
include neutron::deps
include neutron::params
Anchor['neutron::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'neutron_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -157,6 +159,5 @@ class neutron::wsgi::apache (
access_log_file => $access_log_file,
access_log_format => $access_log_format,
error_log_file => $error_log_file,
require => Anchor['neutron::install::end'],
}
}