Decommission ubc-bl*.debian.org
[mirror/dsa-puppet.git] / modules / multipath / manifests / init.pp
index 0056dd1..5c87418 100644 (file)
@@ -8,14 +8,11 @@
 #
 class multipath {
        case $::hostname {
-               bm-bl9: {
-                       $conffile = 'multipath-bm-os.conf'
-               }
-               bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl13,bm-bl14: {
+               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,salieri: {
-                       $conffile = 'multipath-ubc-ganeti.conf'
+               ubc-enc2bl01,ubc-enc2bl02,ubc-enc2bl09,ubc-enc2bl10: {
+                       $conffile = 'multipath-ubc-ganeti2.conf'
                }
                default: {
                        $conffile = ''
@@ -34,7 +31,7 @@ class multipath {
                }
 
                file { '/etc/multipath.conf':
-                       source  => "puppet:///modules/multipath/${conffile}",
+                       content  => template("multipath/${conffile}.erb"),
                        notify  => Exec['multipath reload']
                }
        }