
Previously apache::mod::python and apache::mod::wsgi used a case statement to determine which package to install. This commit moves the package names to the params class and fixes the syntax errors introduced in commit 2b79e8b when the selectors were changed to include Scientific Linux.
15 lines
242 B
Puppet
15 lines
242 B
Puppet
class apache::mod::python {
|
|
include apache
|
|
|
|
package { "mod_python_package":
|
|
name => $apache::params::mod_python_package,
|
|
ensure => installed,
|
|
require => Package["httpd"];
|
|
}
|
|
|
|
a2mod { "python": ensure => present; }
|
|
|
|
}
|
|
|
|
|