]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tetaneutral.rb
Add role for noomoahk
[chef.git] / roles / tetaneutral.rb
diff --git a/roles/tetaneutral.rb b/roles/tetaneutral.rb
new file mode 100644 (file)
index 0000000..1fc9bd0
--- /dev/null
@@ -0,0 +1,28 @@
+name "tetaneutral"
+description "Role applied to all servers at Tetaneutral.net"
+
+default_attributes(
+  :hosted_by => "Tetaneutral.net",
+  :location => "Toulouse, France",
+  :networking => {
+    :nameservers => [
+      "8.8.8.8",
+      "8.8.4.4"
+    ],
+    :roles => {
+      :external => {
+        :zone => "tnn"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[fr]"
+)