]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
ferm: introduce $BUILDD_SSH_ACCESS and use it for CARNET and kFreeBSD
authorPhilipp Kern <pkern@debian.org>
Wed, 20 Jul 2011 22:10:17 +0000 (00:10 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 22 Jul 2011 08:01:59 +0000 (10:01 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/ferm/templates/defs.conf.erb
modules/ferm/templates/me.conf.erb

index 0805b2f9dcb5a2972201fd1b4210cb84fea6e586..ddcf0d3caeeebe198f279b6c35eec4adaac2e08d 100644 (file)
 @def $USER_aurel32 = ();
 @def $USER_aurel32 = ($USER_aurel32 88.191.126.93); # hall.aurel32.net
 @def $USER_aurel32 = ($USER_aurel32 82.232.2.251); # farad.aurel32.net
+
+@def $BUILDD_SSH_ACCESS = ();
+@def $BUILDD_SSH_ACCESS = ($BUILDD_SSH_ACCESS 194.177.211.200); # grieg
+@def $BUILDD_SSH_ACCESS = ($BUILDD_SSH_ACCESS 70.103.162.29); # master
+@def $BUILDD_SSH_ACCESS = ($BUILDD_SSH_ACCESS 206.12.19.5); # ravel
 @def $FREEBSD_SSH_ACCESS = ();
-@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS $DSA_IPS $USER_christoph $USER_aurel32);
-@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS 194.177.211.200); # grieg
-@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS 70.103.162.29); # master
-@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS 206.12.19.5); # ravel
+@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS $DSA_IPS $BUILDD_SSH_ACCESS);
+@def $FREEBSD_SSH_ACCESS = ($FREEBSD_SSH_ACCESS $USER_christoph $USER_aurel32); # buildd admins
index 1637b3b877918ab8d2d10ce761be5498c64d1b20..d60ff069b822efd0b91ba36c51d4138360a0ecee 100644 (file)
@@ -18,8 +18,7 @@ end
 if %w{lebrun schroeder}.include?(hostname) then
        out << '@def $CARNET = ( 193.198.184.8/29 161.53.160.133 161.53.160.90 161.53.11.222 161.53.12.134 161.53.12.142 161.53.12.143 );'
        ssh4allowed << '$CARNET'
-       ssh4allowed << '70.103.162.29' # master
-       ssh4allowed << '82.195.75.84'  # nott.ayous.org, HE (builddadm)
+       ssh4allowed << '$BUILDD_SSH_ACCESS'
 end
 if %w{beethoven}.include?(hostname) then
        ssh4allowed << '$HOST_DEBIAN_V4'