]> git.openstreetmap.org Git - chef.git/blobdiff - roles/strato.rb
Add role for kokosnuss
[chef.git] / roles / strato.rb
diff --git a/roles/strato.rb b/roles/strato.rb
new file mode 100644 (file)
index 0000000..7579317
--- /dev/null
@@ -0,0 +1,28 @@
+name "strato"
+description "Role applied to all servers at Strato"
+
+default_attributes(
+  :hosted_by => "Strato",
+  :location => "Germany",
+  :networking => {
+    :nameservers => [
+      "85.214.7.22",
+      "81.169.163.106"
+    ],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.de.pool.ntp.org", "1.de.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[de]"
+)