X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9c0f589d66c7b2d6b71364fd8669e89434d1f36e..ca0e23852a9523282075fe78076b2deeca69ee53:/roles/grisu.rb diff --git a/roles/grisu.rb b/roles/grisu.rb index 503a28199..be3a48e3f 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -2,41 +2,69 @@ name "grisu" description "Master role applied to grisu" default_attributes( - :accounts => { - :users => { - :yellowbkpk => { :status => :administrator } - } - }, :networking => { :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.32.20", + :bond => { + :slaves => %w[em1 em2] + } + }, :external_ipv4 => { - :interface => "eth0", + :interface => "bond0.214", :role => :external, :family => :inet, - :address => "142.4.213.166", - :prefix => "24", - :gateway => "142.4.213.254" + :address => "89.16.162.20" }, :external_ipv6 => { - :interface => "eth0", + :interface => "bond0.214", :role => :external, :family => :inet6, - :address => "2607:5300:60:12a6::1", - :prefix => "64", - :gateway => "2607:5300:60:12ff:ff:ff:ff:ff" + :address => "2001:41c9:2:d6::20" } } }, - :squid => { - :cache_mem => "9000 MB", - :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" + :openvpn => { + :address => "10.0.16.5", + :tunnels => { + :ic2bm => { + :port => "1194", + :mode => "server", + :peer => { + :host => "ironbelly.openstreetmap.org" + } + }, + :aws2bm => { + :port => "1195", + :mode => "server", + :peer => { + :host => "fafnir.openstreetmap.org" + } + }, + :ucl2bm => { + :port => "1196", + :mode => "server", + :peer => { + :host => "ridley.openstreetmap.org" + } + } + } }, - :tilecache => { - :tile_parent => "orm.openstreetmap.org" + :planet => { + :replication => "disabled" } ) run_list( - "role[ovh-ca]", - "role[tilecache]" + "role[bytemark]", + "role[hp-dl180-g6]", + "role[gateway]", + "role[web-storage]", + "role[backup]", + "role[planet]", + # "role[planetdump]", + "recipe[openvpn]" )