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:
Takashi Kajinami 2022-01-11 18:56:14 +09:00
parent f159b6da02
commit 007e331d87
1 changed files with 2 additions and 1 deletions

View File

@ -132,6 +132,8 @@ class vitrage::wsgi::apache (
include vitrage::deps
include vitrage::params
Anchor['vitrage::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'vitrage_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -160,6 +162,5 @@ class vitrage::wsgi::apache (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['vitrage::install::end'],
}
}