]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/buildd/manifests/init.pp
Remove the buildd.d.o sources.list entry on schroeder, sompek, stadler - apt cannot...
[dsa-puppet.git] / modules / buildd / manifests / init.pp
index 52317ddf1cb0395c319dbfc6a152885619910ace..e168abc33354cf6d6e07e768d6458361ca5857fc 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,
@@ -49,7 +55,7 @@ class buildd ($ensure=present) {
        }
 
        $buildd_prop_ensure = $::hostname ? {
-               /^(alkman|porpora|zandonai)$/ => 'present',
+               /^(alkman|zandonai)$/ => 'present',
                default => 'absent',
        }