]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ovh.rb
Add role for scorch
[chef.git] / roles / ovh.rb
diff --git a/roles/ovh.rb b/roles/ovh.rb
new file mode 100644 (file)
index 0000000..826fcc9
--- /dev/null
@@ -0,0 +1,27 @@
+name "ovh"
+description "Role applied to all servers at OVH"
+
+default_attributes(
+  :hosted_by => "OVH",
+  :location => "Paris, France",
+  :networking => {
+    :nameservers => [
+      "213.186.33.99"
+    ],
+    :roles => {
+      :external => {
+        :zone => "ovh"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[fr]"
+)