From 4f92736eaa93b8637fc100c03ec6a7b52a01ebb1 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 26 May 2009 20:31:17 +0200 Subject: [PATCH] Move buildd thing to nodeinfo infrastructure --- manifests/site.pp | 9 ++++----- modules/debian-org/misc/local.yaml | 13 +++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index 2e8000b06..953000e66 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -55,11 +55,10 @@ node default { default: { } } - case $hostname { - ancina,arcadelt,argento,brahms,goedel,goetz,lafayette,malo,murphy,praetorius,puccini,paer: - { include buildd } - default: {} - } + case extractnodeinfo($nodeinfo, 'buildd') { + "true": { include buildd } + default: { } + } # maybe wait for rietz to be upgraded to lenny # case $hostname { diff --git a/modules/debian-org/misc/local.yaml b/modules/debian-org/misc/local.yaml index f6aa9725b..665872094 100644 --- a/modules/debian-org/misc/local.yaml +++ b/modules/debian-org/misc/local.yaml @@ -93,6 +93,19 @@ host_settings: - saens.debian.org - samosa.debian.org - tartini.debian.org + buildd: + - ancina.debian.org + - arcadelt.debian.org + - argento.debian.org + - brahms.debian.org + - goedel.debian.org + - goetz.debian.org + - lafayette.debian.org + - malo.debian.org + - murphy.debian.org + - praetorius.debian.org + - puccini.debian.org + - paer.debian.org smarthost: ancina.debian.org: mailout.debian.org allegri.debian.org: mailout.debian.org -- 2.20.1