]> git.openstreetmap.org Git - chef.git/blobdiff - roles/equinix.rb
Add role for firnen
[chef.git] / roles / equinix.rb
index 781772cb7f45f87f490ad21ac945a44cf42a52d9..e04f7fac5b253da09567e58567cda0af6757cf2d 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 => ["66.28.0.45", "66.28.0.61"],
     :search => ["ams.openstreetmap.org", "openstreetmap.org"]
   },
   :ntp => {