]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ovh.rb
Configure modtile and renderd collectors
[chef.git] / roles / ovh.rb
index dba20da4bbc06fac2ec749e0767a28aa15b23d33..9a0e9d561c705f6e130d6177f34668b57801f3e0 100644 (file)
@@ -2,12 +2,21 @@ name "ovh"
 description "Role applied to all servers at OVH"
 
 default_attributes(
+  :hosted_by => "OVH",
+  :location => "Roubaix, France",
   :networking => {
-    :nameservers => [ "8.8.4.4", "213.186.33.99", "8.8.8.8" ],
-    :roles => {
-      :external => {
-        :zone => "ov"
-      }
-    }
+    :nameservers => [
+      "213.186.33.99"
+    ]
   }
 )
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[fr]"
+)