]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ovh.rb
tilecache: Remove USA peers from NZ caches
[chef.git] / roles / ovh.rb
index 0cf210d5ab267f5dc617c8e8cf10dc28b6450774..506be9c9a14ef5a8c2c211e6de9eb7317738cf9d 100644 (file)
@@ -2,12 +2,26 @@ 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"],
+    :nameservers => [
+      "213.186.33.99"
+    ],
     :roles => {
       :external => {
-        :zone => "ov"
+        :zone => "ovh"
       }
     }
   }
 )
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[fr]"
+)