Make the SSL apache module happens at correct time
This commit will make sure that the entire Class[apache::mod::ssl] completes before the file resource that purges the conf.d director runs. This is needed because the mod_ssl package on EL is putting down a ssl.conf file in the conf.d directory after the purge, resulting in it only being removed on a the second Puppet run. I'd probably consider this a bug is puppetlabs-apache or upstream EL packaging but for now, this is the workaround. Change-Id: I96d3028aefe423ebd03b843380fb073a85f778d7
This commit is contained in:
parent
51b8e2ce96
commit
96ba3fa800
@ -178,6 +178,11 @@ class keystone::wsgi::apache (
|
||||
include ::apache::mod::wsgi
|
||||
if $ssl {
|
||||
include ::apache::mod::ssl
|
||||
# This is probably a bug in Class[apache::mod::ssl] or in the mod_ssl EL
|
||||
# package but for now I want this to pass p-o-i CI. The issue is that the
|
||||
# mod_ssl package is placing a ssl.conf file after the confd_dir is purged
|
||||
# on Puppet 4.
|
||||
Class['::apache::mod::ssl'] -> File[$::apache::confd_dir]
|
||||
}
|
||||
|
||||
# The httpd package is untagged, but needs to have ordering enforced,
|
||||
|
Loading…
Reference in New Issue
Block a user