From 4b6198fae3e38decf69670da973376990e63e1de Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 11 Jan 2022 18:50:00 +0900 Subject: [PATCH] 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: Id4cfa06790d47c30ea65d69b8143b004c9f0f12b --- manifests/wsgi/apache.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index bb75b31..550eb1a 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -137,6 +137,8 @@ class mistral::wsgi::apache ( include mistral::deps include mistral::params + Anchor['mistral::install::end'] -> Class['apache'] + ::openstacklib::wsgi::apache { 'mistral_wsgi': bind_host => $bind_host, bind_port => $port, @@ -166,6 +168,5 @@ class mistral::wsgi::apache ( error_log_file => $error_log_file, custom_wsgi_process_options => $custom_wsgi_process_options, vhost_custom_fragment => $vhost_custom_fragment, - require => Anchor['mistral::install::end'], } }