X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5e057934bdd32734273fa7764ca92a5db9c49cb7..e03067e0599313ff544f05dc5b49eaa5203c5978:/roles/nepomuk.rb?ds=inline diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 7fba6fb5b..8683ecbe5 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -3,6 +3,20 @@ description "Master role applied to nepomuk" default_attributes( :networking => { + :firewall => { + :inet => [ + { + :action => "ACCEPT", + :source => "net:77.95.64.120,77.95.64.131,77.95.64.139", + :dest => "fw", + :proto => "tcp", + :dest_ports => "5666", + :source_ports => "1024:", + :rate_limit => "-", + :connection_limit => "-" + } + ] + }, :interfaces => { :external_ipv4 => { :interface => "eth0", @@ -39,8 +53,7 @@ default_attributes( :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "128", - "block/vda/queue/scheduler" => "deadline" + "block/vda/queue/nr_requests" => "128" } } },