projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555e405
)
No SRV support in jessie apt
author
Peter Palfrader
<peter@palfrader.org>
Wed, 6 Jan 2016 12:28:43 +0000
(13:28 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 6 Jan 2016 12:28:43 +0000
(13:28 +0100)
modules/debian-org/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/debian-org/manifests/init.pp
b/modules/debian-org/manifests/init.pp
index
adaacc3
..
168b03f
100644
(file)
--- a/
modules/debian-org/manifests/init.pp
+++ b/
modules/debian-org/manifests/init.pp
@@
-7,7
+7,11
@@
class debian-org {
$mirror = getfromhash($site::nodeinfo, 'hoster', 'mirror-debian')
} else {
#$mirror = 'http://ftp.debian.org/debian/'
- $mirror = 'http://deb.debian.org/debian/'
+ if $::lsbmajdistrelease <= 8 {
+ $mirror = 'http://cdn-fastly.deb.debian.org/debian/'
+ } else {
+ $mirror = 'http://deb.debian.org/debian/'
+ }
}
if $::lsbmajdistrelease < 7 {
$mirror_backports = 'http://backports.debian.org/debian-backports/'