]> git.openstreetmap.org Git - chef.git/blobdiff - roles/g5solutions.rb
Add role for komodo
[chef.git] / roles / g5solutions.rb
diff --git a/roles/g5solutions.rb b/roles/g5solutions.rb
new file mode 100644 (file)
index 0000000..b798538
--- /dev/null
@@ -0,0 +1,28 @@
+name "g5solutions"
+description "Role applied to all servers at G5 Solutions"
+
+default_attributes(
+  :hosted_by => "G5 Solutions",
+  :location => "Indonesia",
+  :networking => {
+    :nameservers => [
+      "8.8.8.8",
+      "8.8.4.4"
+    ],
+    :roles => {
+      :external => {
+        :zone => "g5s"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.id.pool.ntp.org", "1.id.pool.ntp.org", "asia.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[id]"
+)