]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Adding apache::envvars
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2013 03:07:32 +0000 (00:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2013 03:07:32 +0000 (00:07 -0300)
manifests/envvars.pp [new file with mode: 0644]

diff --git a/manifests/envvars.pp b/manifests/envvars.pp
new file mode 100644 (file)
index 0000000..a8659ba
--- /dev/null
@@ -0,0 +1,12 @@
+class apache::envvars(
+  source = undef
+) {
+  file { "/etc/apache2/envvars":
+    ensure  => present,
+    owner   => root,
+    group   => root,
+    mode    => 0644,
+    notify  => Service["apache"],
+    source  => $source,
+  }
+}