Commit apache::mod::python Manifest

This commit is contained in:
Gary Larizza 2011-07-15 15:27:14 -07:00
parent b77062f595
commit a825ac7d8d
1 changed files with 17 additions and 0 deletions

17
manifests/mod/python.pp Normal file
View File

@ -0,0 +1,17 @@
class apache::mod::python {
include apache
package { "python":
name => $operatingsystem ? {
centos => "mod_python",
default => "libapache2-mod-python",
},
ensure => installed,
require => Package["httpd"];
}
a2mod { "python": ensure => present; }
}