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: I8a15ccf292b5f7cd90bb45624780f0ef012abe38
This commit is contained in:
parent
04a4354a3f
commit
a44fa9b8d1
|
@ -134,6 +134,8 @@ class ironic::wsgi::apache (
|
||||||
include ironic::deps
|
include ironic::deps
|
||||||
include ironic::params
|
include ironic::params
|
||||||
|
|
||||||
|
Anchor['ironic::install::end'] -> Class['apache']
|
||||||
|
|
||||||
::openstacklib::wsgi::apache { 'ironic_wsgi':
|
::openstacklib::wsgi::apache { 'ironic_wsgi':
|
||||||
bind_host => $bind_host,
|
bind_host => $bind_host,
|
||||||
bind_port => $port,
|
bind_port => $port,
|
||||||
|
@ -163,6 +165,5 @@ class ironic::wsgi::apache (
|
||||||
access_log_format => $access_log_format,
|
access_log_format => $access_log_format,
|
||||||
error_log_file => $error_log_file,
|
error_log_file => $error_log_file,
|
||||||
custom_wsgi_process_options => $custom_wsgi_process_options,
|
custom_wsgi_process_options => $custom_wsgi_process_options,
|
||||||
require => Anchor['ironic::install::end'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue