]> git.openstreetmap.org Git - chef.git/blobdiff - roles/norbert.rb
Add VLAN numbers to external interfaces of UCL machines
[chef.git] / roles / norbert.rb
index f23800800616e7942cf3f3d3a28f7a239b381d41..1d499a5b40003078f17b71b5693439eb88c1c672 100644 (file)
@@ -20,6 +20,12 @@ default_attributes(
         :role => :internal,
         :family => :inet,
         :address => "10.0.0.5"
+      },
+      :external_ipv4 => {
+        :interface => "eth1.2800",
+        :role => :external,
+        :family => :inet,
+        :address => "193.60.236.17"
       }
     }
   },
@@ -29,15 +35,16 @@ default_attributes(
       :parameters => {
         "block/cciss\!c0d0/queue/nr_requests" => "512",
         "block/cciss\!c0d1/queue/nr_requests" => "512",
-       "block/cciss\!c0d0/queue/scheduler" => "noop",
-       "block/cciss\!c0d1/queue/scheduler" => "noop",
-       "block/sda/queue/nr_requests" => "512",
-       "block/sda/queue/scheduler" => "deadline"
+        "block/cciss\!c0d0/queue/scheduler" => "noop",
+        "block/cciss\!c0d1/queue/scheduler" => "noop",
+        "block/sda/queue/nr_requests" => "512",
+        "block/sda/queue/scheduler" => "deadline"
       }
     }
   }
 )
 
 run_list(
-  "role[ucl-wates]"
+  "role[ucl-slough]",
+  "role[hp-g5]"
 )