Commit apache::mod::python Manifest
This commit is contained in:
parent
b77062f595
commit
a825ac7d8d
|
@ -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; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue