Add role for dulcy
authorTom Hughes <tom@compton.nu>
Thu, 26 Nov 2015 17:14:17 +0000 (17:14 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 26 Nov 2015 17:14:17 +0000 (17:14 +0000)
roles/dulcy.rb [new file with mode: 0644]

diff --git a/roles/dulcy.rb b/roles/dulcy.rb
new file mode 100644 (file)
index 0000000..119bac8
--- /dev/null
@@ -0,0 +1,27 @@
+name "dulcy"
+description "Master role applied to dulcy
+"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :external_ipv4 => {
+        :interface => "p18p1",
+        :role => :external,
+        :family => :inet,
+        :address => "193.63.75.109",
+        :hwaddress => "0c:c4:7a:66:96:d2"
+      },
+      :external_ipv6 => {
+        :interface => "p18p1",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:630:12:500:ec4:7aff:fe66:96d2"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[ic]"
+)