From: Tom Hughes Date: Mon, 7 Jan 2019 15:04:23 +0000 (+0000) Subject: Add role for necrosan X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/1704f542f898a8cdb313245c0d23c8f5bccdc448?ds=sidebyside Add role for necrosan --- diff --git a/roles/milkywan.rb b/roles/milkywan.rb new file mode 100644 index 000000000..dbfae9fd5 --- /dev/null +++ b/roles/milkywan.rb @@ -0,0 +1,30 @@ +name "milkywan" +description "Role applied to all servers at MilkyWan" + +default_attributes( + :accounts => { + :users => { + :milkywan => { :status => :administrator } + } + }, + :hosted_by => "MilkyWan", + :location => "France", + :networking => { + :nameservers => ["130.117.11.11", "2a0b:cbc0:42::42"], + :roles => { + :external => { + :zone => "osm" + } + } + } +) + +override_attributes( + :ntp => { + :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"] + } +) + +run_list( + "role[fr]" +) diff --git a/roles/necrosan.rb b/roles/necrosan.rb new file mode 100644 index 000000000..f042dd78e --- /dev/null +++ b/roles/necrosan.rb @@ -0,0 +1,44 @@ +name "necrosan" +description "Master role applied to necrosan" + +default_attributes( + :networking => { + :interfaces => { + :external_ipv4 => { + :interface => "ens18", + :role => :external, + :family => :inet, + :address => "80.67.167.77", + :prefix => "32", + :gateway => "10.0.6.1" + }, + :external_ipv6 => { + :interface => "ens18", + :role => :external, + :family => :inet6, + :address => "2a0b:cbc0:110d:1::1c", + :prefix => "64", + :gateway => "2a0b:cbc0:110d:1::1" + } + } + }, + :squid => { + :cache_mem => "7500 MB", + :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" + }, + :tilecache => { + :tile_parent => "france.render.openstreetmap.org", + :tile_siblings => [ + "noomoahk.openstreetmap.org", + "nepomuk.openstreetmap.org", + "norbert.openstreetmap.org", + "ladon.openstreetmap.org", + "culebre.openstreetmap.org" + ] + } +) + +run_list( + "role[milkywan]", + "role[tilecache]" +) diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 362bc513a..46a199b94 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -62,6 +62,7 @@ default_attributes( :tile_siblings => [ "noomoahk.openstreetmap.org", "norbert.openstreetmap.org", + "necrosan.openstreetmap.org", "trogdor.openstreetmap.org", "katie.openstreetmap.org", "konqi.openstreetmap.org", diff --git a/roles/noomoahk.rb b/roles/noomoahk.rb index ebeea8409..61876296a 100644 --- a/roles/noomoahk.rb +++ b/roles/noomoahk.rb @@ -31,6 +31,7 @@ default_attributes( :tile_siblings => [ "nepomuk.openstreetmap.org", "norbert.openstreetmap.org", + "necrosan.openstreetmap.org", "ladon.openstreetmap.org", "culebre.openstreetmap.org" ] diff --git a/roles/norbert.rb b/roles/norbert.rb index d9dcd9365..d90f8602d 100644 --- a/roles/norbert.rb +++ b/roles/norbert.rb @@ -31,6 +31,7 @@ default_attributes( :tile_siblings => [ "noomoahk.openstreetmap.org", "nepomuk.openstreetmap.org", + "necrosan.openstreetmap.org", "ladon.openstreetmap.org", "culebre.openstreetmap.org" ]