aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:56 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:56 +0000
commit255c868d79be6b2725570a70c51ce9e54e9313bd (patch)
treeb9816e304b8d54bb6dcb701721dc38a67425b9b7 /modules/buildsystem/manifests
parent283e0a113727d6af901537a3b481683b3379112b (diff)
downloadpuppet-255c868d79be6b2725570a70c51ce9e54e9313bd.tar
puppet-255c868d79be6b2725570a70c51ce9e54e9313bd.tar.gz
puppet-255c868d79be6b2725570a70c51ce9e54e9313bd.tar.bz2
puppet-255c868d79be6b2725570a70c51ce9e54e9313bd.tar.xz
puppet-255c868d79be6b2725570a70c51ce9e54e9313bd.zip
buildsystem: don't hardcode distros in vhost_repository.conf
Use buildsystem::var::distros settings in vhost_repository.conf template. The URLs for the infra_1 and infra_2 repositories have been changed, and will need to be updated in urpmi configuration on servers using those repositories. The old URLs were : - http://repository.mageia.org/distrib/infra_1/ - http://repository.mageia.org/distrib/infra_2/ The new URLs are now : - http://repository.mageia.org/bootstrap/infra_1/ - http://repository.mageia.org/bootstrap/infra_2/
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r--modules/buildsystem/manifests/var/distros.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp
index 87f78e19..ddd8ffc1 100644
--- a/modules/buildsystem/manifests/var/distros.pp
+++ b/modules/buildsystem/manifests/var/distros.pp
@@ -39,7 +39,11 @@
# 'distsuffix' => '.mga',
# 'distribution' => 'Mageia',
# 'vendor' => 'Mageia.Org',
-# }
+# },
+# # 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' => [ '127.0.0.1', '10.0.0.1', '.mageia.org' ],
# },
# }
class buildsystem::var::distros(