Move buildd thing to nodeinfo infrastructure
authorPeter Palfrader <peter@palfrader.org>
Tue, 26 May 2009 18:31:17 +0000 (20:31 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 26 May 2009 18:31:17 +0000 (20:31 +0200)
manifests/site.pp
modules/debian-org/misc/local.yaml

index 2e8000b..953000e 100644 (file)
@@ -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 {
index f6aa972..6658720 100644 (file)
@@ -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