From b2f39ce9cc4e171f983c0967a59fe998c60bd958 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 11 Jan 2022 18:51:10 +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: Iabcc24fb05f88760f9f7b806cc3baa86aff416f4 --- 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 1f58d18f0..88b71d5a6 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -129,6 +129,8 @@ class neutron::wsgi::apache ( include neutron::deps include neutron::params + Anchor['neutron::install::end'] -> Class['apache'] + ::openstacklib::wsgi::apache { 'neutron_wsgi': bind_host => $bind_host, bind_port => $port, @@ -157,6 +159,5 @@ class neutron::wsgi::apache ( access_log_file => $access_log_file, access_log_format => $access_log_format, error_log_file => $error_log_file, - require => Anchor['neutron::install::end'], } }