X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b2567ba04c9d6b93e2d3b85244a13dfdc1b0e3d3..ea154b090ca0e115b1e160e4e243a01a1b9f4085:/roles/lockheed.rb diff --git a/roles/lockheed.rb b/roles/lockheed.rb index 6fc5cc7df..8f42973e6 100644 --- a/roles/lockheed.rb +++ b/roles/lockheed.rb @@ -4,33 +4,46 @@ description "Master role applied to lockheed" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.48.16", + :inet => { + :address => "10.0.48.16" + }, :bond => { - :slaves => %w[eth0 eth1] + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno49 eno50] } }, - :external_ipv4 => { - :interface => "bond0.2", + :external => { + :interface => "bond0.3", :role => :external, - :family => :inet, - :address => "130.117.76.16" - }, - :external_ipv6 => { - :interface => "bond0.2", - :role => :external, - :family => :inet6, - :address => "2001:978:2:2C::172:10" + :inet => { + :address => "184.104.179.144" + }, + :inet6 => { + :address => "2001:470:1:fa1::10" + } + } + } + }, + :nginx => { + :cache => { + :proxy => { + :enable => true, + :keys_zone => "proxy_cache_zone:256M", + :inactive => "180d", + :max_size => "51200M" } - } } ) run_list( "role[equinix-ams]", - "role[community]" + "role[hp-g9]", + "recipe[imagery::za_ngi_aerial]", + "recipe[imagery::us_imagery]" )