Commit apache::mod::wsgi Manifest

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

16
manifests/mod/wsgi.pp Normal file
View File

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