summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-02-17 11:53:39 +0000
committerandreas <andreas@immerda.ch>2009-02-17 11:53:39 +0000
commit80ef35cd9ddf25ca5a3cdb45d4aff3cbb8fa1fa2 (patch)
tree4455b70f6670a828c086190cf07bcb60cfb54c09 /manifests
parentfe7bbe60906614631a2e86a004324f6b36470b6e (diff)
define for apache readonly file
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/permissions.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/defines/permissions.pp b/manifests/defines/permissions.pp
index 4757f2e..8a52e6d 100644
--- a/manifests/defines/permissions.pp
+++ b/manifests/defines/permissions.pp
@@ -5,6 +5,13 @@ define apache::file::rw() {
}
}
+define apache::file::r() {
+ file{$name:
+ mode => 640,
+ recurse => true
+ }
+}
+
define apache::dir::rw(
$uid = 'absent',
$gid = 'uid'