X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..d8c82b0e6368b9fb9d957a754dd48415738e73b4:/roles/ridley.rb diff --git a/roles/ridley.rb b/roles/ridley.rb index c73baca1d..7250ce893 100644 --- a/roles/ridley.rb +++ b/roles/ridley.rb @@ -2,15 +2,19 @@ name "ridley" description "Master role applied to ridley" default_attributes( - :dhcpd =>{ - :first_address => "10.0.15.1", - :last_address => "10.0.15.254" + :ssl => { + :certificates => %w(osmfoundation openstreetmap) }, - :exim => { - :aliases => { - :root => "grant" + :apache => { + :ssl => { + :certificate => "osmfoundation", + :certificate_chain => "startcom" } }, + :dhcpd => { + :first_address => "10.0.15.1", + :last_address => "10.0.15.254" + }, :munin => { :graphs => { :apcpdu_ucl => { @@ -19,7 +23,7 @@ default_attributes( :category => "Ups", :values => { :load => { - :sum => [ "apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load" ], + :sum => ["apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load"], :label => "Load" } } @@ -29,17 +33,17 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eth0", + :interface => "eth0.2800", :role => :external, :family => :inet, - :address => "128.40.168.102" + :address => "193.60.236.19" }, :internal_ipv4 => { - :interface => "eth1", + :interface => "eth0.2801", :role => :internal, :family => :inet, :address => "10.0.0.3" - }, + } } }, :openvpn => { @@ -49,7 +53,7 @@ default_attributes( :port => "1194", :mode => "client", :peer => { - :host => "horntail.openstreetmap.org", + :host => "ironbelly.openstreetmap.org", :port => "1194" } }, @@ -61,9 +65,17 @@ default_attributes( :port => "1194" } }, - :firefishy => { + :ucl2bm => { :port => "1196", :mode => "client", + :peer => { + :host => "grisu.openstreetmap.org", + :port => "1196" + } + }, + :firefishy => { + :port => "1197", + :mode => "client", :peer => { :host => "home.firefishy.com", :port => "1194", @@ -75,14 +87,15 @@ default_attributes( ) run_list( - "role[ucl-internal]", + "role[ucl]", + "role[hp-dl360-g6]", "role[gateway]", "role[foundation]", "role[stateofthemap]", "role[switch2osm]", "role[blog]", "role[otrs]", - "role[thinkup]", + "role[donate]", "recipe[dhcpd]", "recipe[openvpn]" )