]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ic.rb
Configure the publisher URL for rails port instances
[chef.git] / roles / ic.rb
index 214e0b354d8386e99e472e27cda5744e3e14dad5..4041d2b36fb9bea7b0c7c877744a92de4bc25b42 100644 (file)
@@ -8,7 +8,7 @@ default_attributes(
     }
   },
   :networking => {
-    :nameservers => [ "146.179.159.177" ],
+    :nameservers => ["8.8.8.8", "146.179.159.177"],
     :roles => {
       :internal => {
         :inet => {
@@ -28,15 +28,20 @@ default_attributes(
         }
       }
     }
+  },
+  :web => {
+    :backends => %w(rails1 rails2 rails3),
+    :fileserver => "ironbelly",
+    :readonly_database_host => "karm.ic.openstreetmap.org"
   }
 )
 
 override_attributes(
   :networking => {
-    :search => [ "ic.openstreetmap.org", "openstreetmap.org" ]
+    :search => ["ic.openstreetmap.org", "openstreetmap.org"]
   },
   :ntp => {
-    :servers => [ "0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org" ]
+    :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"]
   }
 )