Debian uses libapache2-mod-wsgi-py3
Since all of OpenStack in Debian switched to Python 3, we need to use libapache2-mod-wsgi-py3 instead of libapache2-mod-wsgi. This definition follows the upstream doc at: https://forge.puppet.com/puppetlabs/apache/readme (look at mod_packages). Change-Id: I841de2fe44c20419cb61fc1b3d0a77d38ce0c375
This commit is contained in:
parent
a45fae3c03
commit
6d6fe62299
@ -14,6 +14,15 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
include ::apache::params
|
||||
class { '::apache':
|
||||
mod_packages => merge($::apache::params::mod_packages, {
|
||||
'wsgi' => 'libapache2-mod-wsgi-py3',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
include ::openstack_integration
|
||||
include ::openstack_integration::rabbitmq
|
||||
include ::openstack_integration::mysql
|
||||
|
@ -14,6 +14,15 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
include ::apache::params
|
||||
class { '::apache':
|
||||
mod_packages => merge($::apache::params::mod_packages, {
|
||||
'wsgi' => 'libapache2-mod-wsgi-py3',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
$ipv6 = false
|
||||
|
@ -14,6 +14,15 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
include ::apache::params
|
||||
class { '::apache':
|
||||
mod_packages => merge($::apache::params::mod_packages, {
|
||||
'wsgi' => 'libapache2-mod-wsgi-py3',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
$ipv6 = false
|
||||
|
@ -14,6 +14,15 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
include ::apache::params
|
||||
class { '::apache':
|
||||
mod_packages => merge($::apache::params::mod_packages, {
|
||||
'wsgi' => 'libapache2-mod-wsgi-py3',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
$ipv6 = false
|
||||
|
@ -14,6 +14,15 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
include ::apache::params
|
||||
class { '::apache':
|
||||
mod_packages => merge($::apache::params::mod_packages, {
|
||||
'wsgi' => 'libapache2-mod-wsgi-py3',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
if $::operatingsystem == 'Ubuntu' {
|
||||
$ipv6 = false
|
||||
# Watcher packages are not available in Ubuntu repository.
|
||||
|
Loading…
Reference in New Issue
Block a user