Add a deb.debian.org static component
[mirror/dsa-puppet.git] / modules / debian-org / manifests / init.pp
index 6785f23..478dc83 100644 (file)
@@ -134,7 +134,7 @@ class debian-org {
        }
 
        site::aptrepo { 'security':
-               url        => 'http://security.debian.org/',
+               url        => 'http://security-cdn.debian.org/',
                suite      => "${mungedcodename}/updates",
                components => ['main','contrib','non-free']
        }
@@ -162,18 +162,17 @@ class debian-org {
                components => ['main','contrib','non-free']
        }
 
-       #if ($::hostname in [corelli, lucatelli, mayr, pettersson]) or
-       #   ($::hoster and ($::hoster in [bytemark, man-da, brown])) {
-       #       site::aptrepo { 'proposed-updates':
-       #               url        => $mirror,
-       #               suite      => "${::lsbdistcodename}-proposed-updates",
-       #               components => ['main','contrib','non-free']
-       #       }
-       #} else {
+       if ($::hostname in []) {
+               site::aptrepo { 'proposed-updates':
+                       url        => $mirror,
+                       suite      => "${::lsbdistcodename}-proposed-updates",
+                       components => ['main','contrib','non-free']
+               }
+       } else {
                site::aptrepo { 'proposed-updates':
                        ensure => absent,
                }
-       #}
+       }
 
        site::aptrepo { 'debian.org':
                ensure => absent,