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:
Takashi Kajinami 2022-01-11 18:52:40 +09:00
parent 86ce4e6cdf
commit 398ec47b02
1 changed files with 2 additions and 1 deletions

View File

@ -124,6 +124,8 @@ class octavia::wsgi::apache (
include octavia::deps
include octavia::params
Anchor['octavia::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'octavia_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -153,6 +155,5 @@ class octavia::wsgi::apache (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['octavia::install::end'],
}
}