]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Add db-slave role to fafnir
[chef.git] / roles / ironbelly.rb
index 85ba5e60d09ca18f619053c8aa7f6d448a38218c..13f9652266617ba93e0dcea0e0bd27bdfd60e007 100644 (file)
@@ -5,9 +5,21 @@ default_attributes(
   :apt => {
     :sources => ["ubuntugis-unstable"]
   },
-  :chef => {
-    :client => {
-      :version => "12.1.2-1"
+  :elasticsearch => {
+    :cluster => {
+      :routing => {
+        :allocation => {
+          :disk => {
+            :watermark => {
+              :low => "95%",
+              :high => "98%"
+            }
+          }
+        }
+      }
+    },
+    :path => {
+      :data => "/store/elasticsearch"
     }
   },
   :git => {
@@ -47,6 +59,13 @@ default_attributes(
         :peer => {
           :host => "ridley.openstreetmap.org"
         }
+      },
+      :aws2ic => {
+        :port => "1195",
+        :mode => "server",
+        :peer => {
+          :host => "fafnir.openstreetmap.org"
+        }
       }
     }
   },
@@ -102,8 +121,10 @@ run_list(
   "role[stats]",
   "role[planet]",
   "role[planetdump]",
+  "role[logstash]",
   "recipe[rsyncd]",
   "recipe[openvpn]",
   "recipe[git::server]",
-  "recipe[tilelog]"
+  "recipe[tilelog]",
+  "recipe[serverinfo]"
 )