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: I21a4fb74b16449db00ba59ba6a058b25e8640abd
This commit is contained in:
@@ -127,6 +127,8 @@ class cloudkitty::wsgi::apache (
|
|||||||
include cloudkitty::deps
|
include cloudkitty::deps
|
||||||
include cloudkitty::params
|
include cloudkitty::params
|
||||||
|
|
||||||
|
Anchor['cloudkitty::install::end'] -> Class['apache']
|
||||||
|
|
||||||
::openstacklib::wsgi::apache { 'cloudkitty_wsgi':
|
::openstacklib::wsgi::apache { 'cloudkitty_wsgi':
|
||||||
bind_host => $bind_host,
|
bind_host => $bind_host,
|
||||||
bind_port => $port,
|
bind_port => $port,
|
||||||
@@ -155,6 +157,5 @@ class cloudkitty::wsgi::apache (
|
|||||||
access_log_file => $access_log_file,
|
access_log_file => $access_log_file,
|
||||||
access_log_format => $access_log_format,
|
access_log_format => $access_log_format,
|
||||||
error_log_file => $error_log_file,
|
error_log_file => $error_log_file,
|
||||||
require => Anchor['cloudkitty::install::end'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user