summaryrefslogtreecommitdiff
path: root/manifests/file/readonly.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/file/readonly.pp')
-rw-r--r--manifests/file/readonly.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/file/readonly.pp b/manifests/file/readonly.pp
new file mode 100644
index 0000000..6308d88
--- /dev/null
+++ b/manifests/file/readonly.pp
@@ -0,0 +1,12 @@
+define apache::file::readonly(
+ $owner = root,
+ $group = 0,
+ $mode = 0640
+) {
+ apache::file{$name:
+ owner => $owner,
+ group => $group,
+ mode => $mode,
+ }
+}
+