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: If1d6f9bcb7c1644daf9c54dda7d2d0130e19a595
changes/27/824127/1
Takashi Kajinami 4 months ago
parent
commit
007e331d87
  1. 3
      manifests/wsgi/apache.pp

3
manifests/wsgi/apache.pp

@ -132,6 +132,8 @@ class vitrage::wsgi::apache (
include vitrage::deps
include vitrage::params
Anchor['vitrage::install::end'] -> Class['apache']
::openstacklib::wsgi::apache { 'vitrage_wsgi':
bind_host => $bind_host,
bind_port => $port,
@ -160,6 +162,5 @@ class vitrage::wsgi::apache (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
custom_wsgi_process_options => $custom_wsgi_process_options,
require => Anchor['vitrage::install::end'],
}
}

Loading…
Cancel
Save