]> git.openstreetmap.org Git - chef.git/commitdiff
Restore role for tabaluga
authorTom Hughes <tom@compton.nu>
Thu, 26 Sep 2024 13:30:58 +0000 (14:30 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 26 Sep 2024 13:31:24 +0000 (14:31 +0100)
cookbooks/dhcpd/templates/default/dhcpd.conf.erb
roles/tabaluga.rb [new file with mode: 0644]

index e5381a5067a23cf31ecf7ce6c783e35486378746..26d1271be53971759e1942995e2b83a325f8795a 100644 (file)
@@ -254,7 +254,7 @@ host spike-08.oob.openstreetmap.org {
 }
 
 host tabaluga.oob.openstreetmap.org {
-  hardware ethernet 38:63:bb:39:82:7a;
+  hardware ethernet 30:e1:71:5a:a4:6a;
   server-name "tabaluga.oob.openstreetmap.org";
   fixed-address tabaluga.oob.openstreetmap.org;
 }
diff --git a/roles/tabaluga.rb b/roles/tabaluga.rb
new file mode 100644 (file)
index 0000000..60b5854
--- /dev/null
@@ -0,0 +1,37 @@
+name "tabaluga"
+description "Master role applied to tabaluga"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :internal => {
+        :interface => "bond0",
+        :role => :internal,
+        :inet => {
+          :address => "10.0.48.14"
+        },
+        :bond => {
+          :mode => "802.3ad",
+          :lacprate => "fast",
+          :xmithashpolicy => "layer3+4",
+          :slaves => %w[eno1 eno2]
+        }
+      },
+      :external => {
+        :interface => "bond0.2",
+        :role => :external,
+        :inet => {
+          :address => "184.104.179.142"
+        },
+        :inet6 => {
+          :address => "2001:470:1:fa1::e"
+        }
+      }
+    }
+  }
+)
+
+run_list(
+  "role[equinix-ams]",
+  "role[hp-g9]"
+)