]> git.openstreetmap.org Git - chef.git/blobdiff - roles/gandi.rb
Create gackelchen, gandi and lu roles
[chef.git] / roles / gandi.rb
diff --git a/roles/gandi.rb b/roles/gandi.rb
new file mode 100644 (file)
index 0000000..6868a7c
--- /dev/null
@@ -0,0 +1,29 @@
+name "gandi"
+description "Role applied to all servers at Gandi"
+
+default_attributes(
+  :hosted_by => "Gandi",
+  :location => "Bissen, Luxembourg",
+  :networking => {
+    :nameservers => [
+      "217.70.186.194",
+      "217.70.186.193",
+      "2001:4b98:dc2:49::193"
+    ],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.lu.pool.ntp.org", "1.lu.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[lu]"
+)