]> git.openstreetmap.org Git - chef.git/commitdiff
Rename thorn-01 to lockheed and give it a public IP address
authorTom Hughes <tom@compton.nu>
Wed, 21 Apr 2021 18:31:49 +0000 (19:31 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 21 Apr 2021 18:31:49 +0000 (19:31 +0100)
roles/lockheed.rb [new file with mode: 0644]
roles/thorn-01.rb [deleted file]

diff --git a/roles/lockheed.rb b/roles/lockheed.rb
new file mode 100644 (file)
index 0000000..f920f60
--- /dev/null
@@ -0,0 +1,35 @@
+name "lockheed"
+description "Master role applied to lockheed"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :internal_ipv4 => {
+        :interface => "bond0",
+        :role => :internal,
+        :family => :inet,
+        :address => "10.0.48.16",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
+      },
+      :external_ipv4 => {
+        :interface => "bond0.2",
+        :role => :external,
+        :family => :inet,
+        :address => "130.117.76.16"
+      },
+      :external_ipv6 => {
+        :interface => "bond0.2",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:978:2:2C::172:10"
+      }
+
+    }
+  }
+)
+
+run_list(
+  "role[equinix]"
+)
diff --git a/roles/thorn-01.rb b/roles/thorn-01.rb
deleted file mode 100644 (file)
index a64e6a2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-name "thorn-01"
-description "Master role applied to thorn-01"
-
-default_attributes(
-  :networking => {
-    :interfaces => {
-      :internal_ipv4 => {
-        :interface => "bond0",
-        :role => :internal,
-        :family => :inet,
-        :address => "10.0.48.51",
-        :bond => {
-          :slaves => %w[eth0 eth1]
-        }
-      }
-    }
-  }
-)
-
-run_list(
-  "role[equinix]"
-)