X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/edeb17167b2854344c352e1c725085636afd3668..e2d7320e5cc873e9a55f2a04303d5f4df4c92a29:/roles/shenron.rb diff --git a/roles/shenron.rb b/roles/shenron.rb index d5fd177f8..9e94e5edd 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -2,20 +2,29 @@ name "shenron" description "Master role applied to shenron" default_attributes( - :accounts => { - :users => { - :bretth => { - :status => :user, - :shell => "/usr/bin/git-shell" - }, - } - }, :apache => { :mpm => "event", :event => { - :max_requests_per_child => 2000 + :min_spare_threads => 50, + :max_spare_threads => 150 } }, + :hardware => { + :hwmon => { + "platform_it87_552" => { + :ignore => %w[in6] + } + }, + :mcelog => { + :enabled => false + }, + :modules => [ + "it87" + ] + } +) + +override_attributes( :networking => { :interfaces => { :external_ipv4 => { @@ -33,20 +42,10 @@ default_attributes( :address => "2001:41c9:1:400::32", :prefix => "64", :gateway => "fe80::1" - }, - } - }, - :openvpn => { - :address => "10.0.16.3", - :tunnels => { - :shenron2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } } - } + }, + :nameservers => ["1.1.1.1", "1.0.0.1", "2606:4700:4700::1111", "2606:4700:4700::1001"], + :private_address => "10.0.16.100" } ) @@ -54,13 +53,9 @@ run_list( "role[bytemark]", "role[mail]", "role[lists]", - "role[git]", "role[subversion]", "role[trac]", "role[osqa]", "role[irc]", - "role[dns]", - "role[geodns]", - "role[chef-repository]", - "recipe[openvpn]" + "recipe[blogs]" )