summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6ac080a..5879991 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,5 +1,9 @@
class reprepro {
+ case $reprepro_origin {
+ '': { $reprepro_origin = $domain }
+ }
+
case $reprepro_uploaders {
'': { fail("You need the repository uploaders! Please set \$reprepro_uploaders in your config") }
}