]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
name template script correctly
[chef.git] / roles / ironbelly.rb
index 21047885f2cf9215c94ad44d4d62422a64c979b7..098568265d6a8eac79bc65202b6d0f236cf6bf4d 100644 (file)
@@ -3,7 +3,24 @@ description "Master role applied to ironbelly"
 
 default_attributes(
   :apt => {
-    :sources => [ "ubuntugis-unstable" ]
+    :sources => ["ubuntugis-unstable"]
+  },
+  :elasticsearch => {
+    :cluster => {
+      :routing => {
+        :allocation => {
+          :disk => {
+            :watermark => {
+              :low => "95%",
+              :high => "98%"
+            }
+          }
+        }
+      }
+    },
+    :path => {
+      :data => "/store/elasticsearch"
+    }
   },
   :git => {
     :allowed_nodes => "*:*",
@@ -97,6 +114,7 @@ run_list(
   "role[stats]",
   "role[planet]",
   "role[planetdump]",
+  "role[logstash]",
   "recipe[rsyncd]",
   "recipe[openvpn]",
   "recipe[git::server]",