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: I21a4fb74b16449db00ba59ba6a058b25e8640abd
This commit is contained in:
Takashi Kajinami
2022-01-11 18:37:35 +09:00
parent 1b7715cafe
commit 302f388f35

View File

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