aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp13
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index 72b386cc..0299c87c 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -1,5 +1,9 @@
# $default_distro:
# the name of the default distribution
+# $repo_allow_from_ips:
+# $repo_allow_from_domains:
+# list of IP or domains allowed to access the repository. If you don't want to
+# filter allowed IPs, don't those values.
# $distros:
# a hash variable containing distributions informations indexed by
# distribution name. Each distribution is itself an hash containing
@@ -72,11 +76,6 @@
# # set this if the distro is not mirrored. This is used to add
# # an Alias in the vhost.
# 'no_mirror' => true,
-# # list of IP or hostnames allowed to access this distro on the
-# # repository. If you don't want to filter allowed IPs, don't set
-# # this value
-# 'repo_allow_from_ips' => [ '127.0.0.1', '10.0.0.1' ],
-# 'repo_allow_from_domains' => [ ".${::domain}" ],
# Optionally, the distribution can be based on the repos from an other
# distribution. In this example we're saying that the distribution is
# based on 2/core/release and 2/core/updates.
@@ -121,5 +120,7 @@
# }
class buildsystem::var::distros(
$default_distro,
- $distros
+ $repo_allow_from_ips,
+ $repo_allow_from_domains,
+ $distros,
) { }