X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/dcbd2190d605a1992795e7e14ffd6de1350231bb..4378e24ae196a1ff6af4f9994dcc54425498f7ba:/roles/sarel.rb?ds=sidebyside diff --git a/roles/sarel.rb b/roles/sarel.rb index ab7c52a4f..ab1bf393b 100644 --- a/roles/sarel.rb +++ b/roles/sarel.rb @@ -2,22 +2,28 @@ name "sarel" description "Master role applied to sarel" default_attributes( + :apache => { + :mpm => "event", + :event => { + :min_spare_threads => 50, + :max_spare_threads => 150, + :listen_cores_buckets_ratio => 4 + } + }, :git => { - :allowed_nodes => "fqdn:*", - :user => "chefrepo", - :group => "chefrepo", - :backup => "chef-git" + :private_user => "chefrepo", + :private_group => "chefrepo" }, :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0.2801", + :interface => "enp3s0f0.2801", :role => :internal, :family => :inet, :address => "10.0.0.12" }, :external_ipv4 => { - :interface => "eth0.2800", + :interface => "enp3s0f0.2800", :role => :external, :family => :inet, :address => "193.60.236.20" @@ -28,11 +34,10 @@ default_attributes( run_list( "role[ucl]", - "role[hp-g5]", - "role[yournavigation]", "role[chef-server]", "role[chef-repository]", "role[letsencrypt]", - "recipe[git::server]", + "role[git]", + "role[dns]", "recipe[serverinfo]" )