7424f811af
Since v5.6.0, mod_packages[1] and mod_libs[2] are automatically set to the appropriate value in CentOS8, so we don't need to set these parameters explicitly. [1] https://github.com/puppetlabs/puppetlabs-apache/commit/d346b76d1 [2] https://github.com/puppetlabs/puppetlabs-apache/commit/f31e392a6 Change-Id: Iab5964f54d0e5de0538e02b59ec5be0cdcf926d5
18 lines
437 B
Puppet
18 lines
437 B
Puppet
class openstack_integration::apache {
|
|
|
|
include openstack_integration::params
|
|
include openstack_integration::config
|
|
|
|
if ($::os['family'] == 'Debian') {
|
|
include apache::params
|
|
class { 'apache':
|
|
mod_packages => merge($::apache::params::mod_packages, {
|
|
'wsgi' => 'libapache2-mod-wsgi-py3',
|
|
}),
|
|
mod_libs => merge($::apache::params::mod_libs, {
|
|
'wsgi' => 'mod_wsgi.so',
|
|
})
|
|
}
|
|
}
|
|
}
|