]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/apache/manifests/mod/suphp.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / apache / manifests / mod / suphp.pp
diff --git a/3rdparty/modules/apache/manifests/mod/suphp.pp b/3rdparty/modules/apache/manifests/mod/suphp.pp
new file mode 100644 (file)
index 0000000..c50beea
--- /dev/null
@@ -0,0 +1,14 @@
+class apache::mod::suphp (
+){
+  ::apache::mod { 'suphp': }
+
+  file {'suphp.conf':
+    ensure  => file,
+    path    => "${::apache::mod_dir}/suphp.conf",
+    content => template('apache/mod/suphp.conf.erb'),
+    require => Exec["mkdir ${::apache::mod_dir}"],
+    before  => File[$::apache::mod_dir],
+    notify  => Class['apache::service'],
+  }
+}
+