X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3883ad025353c2e68a6acee0966d4d1c4a9f70e6..b9cb30424d335ba746182f99fecb362a1cd5be81:/roles/angor.rb diff --git a/roles/angor.rb b/roles/angor.rb index 143228f9a..be08e517c 100644 --- a/roles/angor.rb +++ b/roles/angor.rb @@ -4,41 +4,35 @@ description "Master role applied to angor" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { + :external => { :interface => "eno1", :role => :external, - :family => :inet, - :address => "196.10.54.165", - :prefix => "29", - :gateway => "196.10.54.161" - }, - :external_ipv6 => { - :interface => "eno1", - :role => :external, - :family => :inet6, - :address => "2001:43f8:1f4:b00:b283:feff:fed8:dd45", - :prefix => "64", - :gateway => "2001:43f8:1f4:b00::1" + :inet => { + :address => "196.10.54.165", + :prefix => "29", + :gateway => "196.10.54.161" + }, + :inet6 => { + :address => "2001:43f8:1f4:b00:b283:feff:fed8:dd45", + :prefix => "64", + :gateway => "2001:43f8:1f4:b00::1" + } } } }, - :squid => { - :cache_mem => "6100 MB", - :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80" - }, - :tilecache => { - :tile_parent => "london.render.openstreetmap.org", - :tile_siblings => [ - "trogdor.openstreetmap.org", - "katie.openstreetmap.org", - "konqi.openstreetmap.org", - "ridgeback.openstreetmap.org", - "gorynych.openstreetmap.org" - ] + :accounts => { + :users => { + :htonl => { :status => :user }, + :gmoncrieff => { :status => :user }, + :zander => { :status => :user }, + :"za-imagery" => { + :status => :role, + :members => [:grant, :htonl, :gmoncrieff, :zander] + } + } } ) run_list( - "role[inxza]", - "role[tilecache]" + "role[inxza]" )