summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-28 00:07:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-02-28 00:07:32 -0300
commit68bfbe8ca1fb64ecfe51b963248b198f11c75764 (patch)
tree16cfef98dd755d2867585353c54e53b088c8a713 /manifests
parentc80a1e3d5cab1268c09f1f89fd76769bf66eaa89 (diff)
downloadpuppet-apache-68bfbe8ca1fb64ecfe51b963248b198f11c75764.tar.gz
puppet-apache-68bfbe8ca1fb64ecfe51b963248b198f11c75764.tar.bz2
Adding apache::envvars
Diffstat (limited to 'manifests')
-rw-r--r--manifests/envvars.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/envvars.pp b/manifests/envvars.pp
new file mode 100644
index 0000000..a8659ba
--- /dev/null
+++ b/manifests/envvars.pp
@@ -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,
+ }
+}