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: Ie922c425b267e55806f8a710648f275080c9341c
This commit is contained in:
Takashi Kajinami 2022-01-11 18:36:45 +09:00
parent a2b6b74266
commit 93d3ac02f8
1 changed files with 2 additions and 1 deletions

View File

@ -153,6 +153,8 @@ class cinder::wsgi::apache (
include cinder::deps
include cinder::params
Anchor['cinder::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'cinder_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -186,6 +188,5 @@ class cinder::wsgi::apache (
error_log_file => $error_log_file,
error_log_pipe => $error_log_pipe,
error_log_syslog => $error_log_syslog,
require => Anchor['cinder::install::end'],
}
}