Add role for grindtooth
authorTom Hughes <tom@compton.nu>
Sun, 9 Feb 2014 09:51:18 +0000 (09:51 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 9 Feb 2014 09:51:27 +0000 (09:51 +0000)
roles/grindtooth.rb [new file with mode: 0644]

diff --git a/roles/grindtooth.rb b/roles/grindtooth.rb
new file mode 100644 (file)
index 0000000..f5eb3af
--- /dev/null
@@ -0,0 +1,19 @@
+name "grindtooth"
+description "Master role applied to grindtooth"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :internal_ipv4 => {
+        :interface => "eth0",
+        :role => :internal,
+        :family => :inet,
+        :address => "10.0.0.19"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[ucl-internal]"
+)