X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/979e98164cc9a6d7216197f01febc918c9a152b9..a94a26869b4b2a23b32266db58612795b1d3d3d8:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 9a8188449..13f965226 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -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 => "*:*", @@ -42,6 +59,13 @@ default_attributes( :peer => { :host => "ridley.openstreetmap.org" } + }, + :aws2ic => { + :port => "1195", + :mode => "server", + :peer => { + :host => "fafnir.openstreetmap.org" + } } } }, @@ -56,7 +80,7 @@ default_attributes( :uid => "tomh", :gid => "tomh", :transfer_logging => false, - :hosts_allow => [ + :hosts_allow => [ "212.110.172.32", # shenron "2001:41c9:1:400::32", # shenron "212.159.112.221" # grant @@ -84,7 +108,7 @@ default_attributes( } } } -); +) run_list( "role[ic]", @@ -97,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]" )