summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f7f0a34..4547538 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -28,6 +28,11 @@ class reprepro {
}
}
+ $incoming_mode = $reprepro_incoming_mode ? {
+ '' => 1777,
+ default => $reprepro_incoming_mode,
+ }
+
user { "reprepro":
ensure => "present",
home => "$basedir",
@@ -66,7 +71,7 @@ class reprepro {
"$basedir/incoming":
ensure => directory,
- mode => 1777, owner => reprepro, group => reprepro;
+ mode => $incoming_mode, owner => reprepro, group => reprepro;
"$basedir/logs":
ensure => directory,