]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ovh.rb
Configure modtile and renderd collectors
[chef.git] / roles / ovh.rb
index 0cf210d5ab267f5dc617c8e8cf10dc28b6450774..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]"
+)