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 02a8794..92fc786 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,5 +1,9 @@
class reprepro {
+ case $reprepro_uploaders {
+ '': { fail("You need the repository uploaders! Please set \$reprepro_uploaders in your config") }
+ }
+
$basedir = $reprepro_basedir ? {
'' => '/srv/reprepro',
default => $reprepro_basedir,