Remove the buildd.d.o sources.list entry on schroeder, sompek, stadler - apt cannot...
authorPeter Palfrader <peter@palfrader.org>
Tue, 9 Jun 2015 09:33:58 +0000 (11:33 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 9 Jun 2015 09:33:58 +0000 (11:33 +0200)
modules/buildd/manifests/init.pp

index 41805fe..e168abc 100644 (file)
@@ -40,7 +40,13 @@ class buildd ($ensure=present) {
                default => 'wheezy'
        }
 
+       $buildd_apt_main_ensure = $::hostname ? {
+               /^(schroeder|sompek|stadler)$/ => 'absent',
+               default => 'present',
+       }
+
        site::aptrepo { 'buildd.debian.org':
+               ensure     => $buildd_apt_main_ensure,
                key        => 'puppet:///modules/buildd/buildd.debian.org.gpg',
                url        => 'https://buildd.debian.org/apt/',
                suite      => $suite,