diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 23:02:26 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2011-06-21 23:02:26 -0400 |
commit | be856169725f0abe7ac5e1633d4774b1d6c0a1d9 (patch) | |
tree | 84f3d2b0c825b779efd3c63288523c61407f2953 /manifests | |
parent | 2346777ec2c5937148b26f579bb983d864f6e2d5 (diff) | |
download | puppet-reprepro-be856169725f0abe7ac5e1633d4774b1d6c0a1d9.tar.gz puppet-reprepro-be856169725f0abe7ac5e1633d4774b1d6c0a1d9.tar.bz2 |
make repository origin customizeable
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 |
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") } } |