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: I790cbfec3244c18cd48436a42887e9c6ce134701
This commit is contained in:
Takashi Kajinami 2022-01-11 18:34:13 +09:00
parent 3927d78089
commit caa893234e
1 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,8 @@ class barbican::wsgi::apache (
include barbican::deps include barbican::deps
include barbican::params include barbican::params
Anchor['barbican::install::end'] -> Class['apache']
openstacklib::wsgi::apache { 'barbican_wsgi_main': openstacklib::wsgi::apache { 'barbican_wsgi_main':
bind_host => $bind_host, bind_host => $bind_host,
bind_port => $public_port, bind_port => $public_port,
@ -167,6 +169,5 @@ class barbican::wsgi::apache (
access_log_format => $access_log_format, access_log_format => $access_log_format,
error_log_file => $error_log_file, error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options, custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['barbican::install::end']
} }
} }