Browse Source

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
changes/18/824118/1
Takashi Kajinami 4 months ago
parent
commit
4b6198fae3
  1. 3
      manifests/wsgi/apache.pp

3
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'],
}
}

Loading…
Cancel
Save