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: I1db195cbbdf914b2592a4e7820d0d2680e630963
changes/22/824122/1
Takashi Kajinami 6 months ago
parent
commit
398ec47b02
  1. 3
      manifests/wsgi/apache.pp

3
manifests/wsgi/apache.pp

@ -124,6 +124,8 @@ class octavia::wsgi::apache (
include octavia::deps
include octavia::params
Anchor['octavia::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'octavia_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -153,6 +155,5 @@ class octavia::wsgi::apache (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['octavia::install::end'],
}
}

Loading…
Cancel
Save