prepare to add salieri to ganeti2
authorPeter Palfrader <peter@palfrader.org>
Sat, 25 May 2013 12:01:11 +0000 (14:01 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 25 May 2013 12:01:11 +0000 (14:01 +0200)
hieradata/clusters/ganeti2.debian.org.yaml
manifests/site.pp
modules/ferm/templates/me.conf.erb
modules/ganeti2/manifests/params.pp
modules/lvm/manifests/init.pp
modules/multipath/manifests/init.pp
modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb

index 9963682..2487733 100644 (file)
@@ -5,5 +5,6 @@ nodes:
   - 'bertali.debian.org'
   - 'boito.debian.org'
   - 'rossini.debian.org'
+  - 'salieri.debian.org'
   - 'dijkstra.debian.org'
   - 'luchesi.debian.org'
index 7b1af9a..8e4a77a 100644 (file)
@@ -38,14 +38,12 @@ node default {
        include bacula::client
        include autofs
        include lvm
+       include multipath
 
-       if $::hostname in [pasquini,tristano,bertali,boito,rossini,dijkstra,luchesi,byrd,clementi,czerny,bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14] {
+       if $::hostname in [pasquini,tristano,bertali,boito,rossini,salieri,dijkstra,luchesi,byrd,clementi,czerny,bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14] {
                include ganeti2
        }
 
-       if $::hostname in [bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14,rossini,luchesi,dijkstra] {
-               include multipath
-       }
 
        if $::hostname == 'dinis' {
                include bacula::director
index 86ee156..69b8fa5 100644 (file)
@@ -7,7 +7,7 @@
 out = []
 
 restricted_purposes = {'kvm host', 'central syslog server', 'puppet master', 'jumphost'}
-restrict_ssh = %w{lebrun geo1 geo2 geo3 beethoven tchaikovsky schroeder rossini draghi}
+restrict_ssh = %w{lebrun geo1 geo2 geo3 beethoven tchaikovsky schroeder draghi}
 
 if (scope.lookupvar('site::nodeinfo')['ldap'].has_key?('purpose')) then
        scope.lookupvar('site::nodeinfo')['ldap']['purpose'].each do |purp|
index 975b3d6..93414b7 100644 (file)
@@ -6,8 +6,8 @@ class ganeti2::params {
                        $drbd         = false
                }
                'ganeti2.debian.org': {
-                       $ganeti_hosts = ['206.12.19.213/32', '206.12.19.217/32', '206.12.19.212/32', '206.12.19.216/32', '206.12.19.19/32', '206.12.19.218/32', '206.12.19.214/32']
-                       $ganeti_priv  = ['192.168.2.213/32', '192.168.2.217/32', '192.168.2.212/32', '192.168.2.216/32', '192.168.2.19/32', '192.168.2.218/32', '192.168.2.214/32']
+                       $ganeti_hosts = ['206.12.19.213/32', '206.12.19.217/32', '206.12.19.212/32', '206.12.19.216/32', '206.12.19.19/32', '206.12.19.20/32', '206.12.19.218/32', '206.12.19.214/32']
+                       $ganeti_priv  = ['192.168.2.213/32', '192.168.2.217/32', '192.168.2.212/32', '192.168.2.216/32', '192.168.2.19/32', '192.168.2.20/32', '192.168.2.218/32', '192.168.2.214/32']
                        $drbd         = true
                }
                'ganeti3.debian.org': {
index 585efc4..b592d6a 100644 (file)
@@ -1,6 +1,6 @@
 class lvm {
        case $::hostname {
-               dijkstra,luchesi,rossini: {
+               dijkstra,luchesi,rossini,salieri: {
                        $conffile = 'lvm-ubc-ganeti.conf'
                }
                default: {
index cb5d02e..1262ea1 100644 (file)
@@ -3,7 +3,7 @@ class multipath {
                bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14: {
                        $conffile = 'multipath-bm.conf'
                }
-               dijkstra,luchesi,rossini: {
+               dijkstra,luchesi,rossini,salieri: {
                        $conffile = 'multipath-ubc-ganeti.conf'
                }
                default: {
index d0f2b2d..f50eef9 100644 (file)
@@ -14,7 +14,6 @@ when /(zandonai|zelenka).debian.org/:   ignore << %w{samhain zabbix-agent rrdcol
 when /zappa.debian.org/:                ignore << %w{samhain}
 when /(mayer|corelli).debian.org/: ignore << "linux-base"
 when /(alkman|caballero|merulo|mundy).debian.org/: ignore << "samhain"
-when "rossini.debian.org":              ignore << %w{ganeti2}
 when "franck.debian.org":               ignore << %w{python-apt}
 when /(abel|arnold|alain|alwyn|antheil|arne).debian.org/: ignore << %w{flash-kernel linux-firmware-image}
 when /harris.debian.org/:               ignore << %w{flash-kernel kernel linux-firmware-image}