aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/mod
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-25 12:20:35 +0000
committerMichael Scherer <misc@mageia.org>2012-03-25 12:20:35 +0000
commitfe7c84751929b955d65e7f607edc36f01d9d1fc4 (patch)
tree91e5c5c6182b52a08ad2cc26bf6a43b732c6c773 /modules/apache/manifests/mod
parent347cdaaa92ae792de39cdf2692c1564e412f698b (diff)
downloadpuppet-fe7c84751929b955d65e7f607edc36f01d9d1fc4.tar
puppet-fe7c84751929b955d65e7f607edc36f01d9d1fc4.tar.gz
puppet-fe7c84751929b955d65e7f607edc36f01d9d1fc4.tar.bz2
puppet-fe7c84751929b955d65e7f607edc36f01d9d1fc4.tar.xz
puppet-fe7c84751929b955d65e7f607edc36f01d9d1fc4.zip
split mod_wsgi in a separate file
Diffstat (limited to 'modules/apache/manifests/mod')
-rw-r--r--modules/apache/manifests/mod/wsgi.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/apache/manifests/mod/wsgi.pp b/modules/apache/manifests/mod/wsgi.pp
new file mode 100644
index 00000000..416adb34
--- /dev/null
+++ b/modules/apache/manifests/mod/wsgi.pp
@@ -0,0 +1,12 @@
+class apache::mod::wsgi {
+ include apache::base
+ package { 'apache-mod_wsgi': }
+
+ file { '/usr/local/lib/wsgi':
+ ensure => directory,
+ }
+
+ apache::config { '/etc/httpd/conf.d/mod_wsgi.conf':
+ content => template('apache/mod_wsgi.conf'),
+ }
+}