]> git.openstreetmap.org Git - chef.git/blobdiff - roles/norbert.rb
Add VLAN numbers to internal interfaces of UCL machines
[chef.git] / roles / norbert.rb
index f23800800616e7942cf3f3d3a28f7a239b381d41..084037f5643f24afb12b94ca47c3bd9704d1fdae 100644 (file)
@@ -16,10 +16,16 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "eth1.2801",
         :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]"
 )