]> git.openstreetmap.org Git - chef.git/blobdiff - roles/equinix.rb
Add placeholder cookbook for community
[chef.git] / roles / equinix.rb
index 781772cb7f45f87f490ad21ac945a44cf42a52d9..29892328a5f838581809dce0f12626ae2da21bdc 100644 (file)
@@ -3,12 +3,14 @@ description "Role applied to all servers at Equinix"
 
 default_attributes(
   :networking => {
-    :nameservers => ["66.28.0.45", "66.28.0.61"],
     :roles => {
       :internal => {
         :inet => {
           :prefix => "20",
-          :gateway => "10.0.48.10"
+          :gateway => "10.0.48.10",
+          :routes => {
+            "10.0.0.0/8" => { :via => "10.0.48.10" }
+          }
         }
       },
       :external => {
@@ -39,6 +41,7 @@ default_attributes(
 
 override_attributes(
   :networking => {
+    :nameservers => ["10.0.48.10", "1.1.1.1", "1.0.0.1"],
     :search => ["ams.openstreetmap.org", "openstreetmap.org"]
   },
   :ntp => {