From e079e7b6a8002a0e185e904e7b4ccf762ab8746d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Jun 2015 11:33:58 +0200 Subject: [PATCH] Remove the buildd.d.o sources.list entry on schroeder, sompek, stadler - apt cannot handle https to jessie hosts on these sparc hosts --- modules/buildd/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/buildd/manifests/init.pp b/modules/buildd/manifests/init.pp index 41805fe3c..e168abc33 100644 --- a/modules/buildd/manifests/init.pp +++ b/modules/buildd/manifests/init.pp @@ -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, -- 2.20.1