X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2b97b618ac158c7168043b9fd7b478cbf99d8841..9405425891a99d4c42de9ccc68184e152e43ab18:/roles/naga.rb?ds=sidebyside diff --git a/roles/naga.rb b/roles/naga.rb index f98252034..2586aaf4a 100644 --- a/roles/naga.rb +++ b/roles/naga.rb @@ -4,11 +4,12 @@ description "Master role applied to naga" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.64.8", + :inet => { + :address => "10.0.64.8" + }, :bond => { :mode => "802.3ad", :lacprate => "fast", @@ -16,17 +17,28 @@ default_attributes( :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50] } }, - :external_ipv4 => { + :external => { :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "184.104.226.104" - }, - :external_ipv6 => { - :interface => "bond0.101", - :role => :external, - :family => :inet6, - :address => "2001:470:1:b3b::8" + :inet => { + :address => "184.104.226.104" + }, + :inet6 => { + :address => "2001:470:1:b3b::8" + } + } + } + }, + :otrs => { + :site => "test.otrs.openstreetmap.org", + :site_aliases => ["test.otrs.osm.org"], + :database_cluster => "16/main" + }, + :postgresql => { + :versions => ["16"], + :settings => { + "16" => { + :port => 5433 } } } @@ -39,6 +51,13 @@ run_list( "role[trac]", "role[irc]", "role[blogs]", - "role[munin]", - "recipe[foundation::welcome]" + "role[switch2osm]", + "recipe[foundation::mastodon]", + "recipe[foundation::owg]", + "recipe[foundation::welcome]", + "recipe[stateofthemap::container]", + "recipe[hot]", + "recipe[ideditor]", + "recipe[dmca]", + "recipe[otrs::debian]" )