X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b858a6e99d90888649d98b2e66399799eb33dd4c..c8b4fa19916eb02e6b3861216cfeb3b4f7a4f5b5:/roles/smaug.rb diff --git a/roles/smaug.rb b/roles/smaug.rb index 0c7843741..fd7474714 100644 --- a/roles/smaug.rb +++ b/roles/smaug.rb @@ -4,11 +4,12 @@ description "Master role applied to smaug" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.64.14", + :inet => { + :address => "10.0.64.14" + }, :bond => { :mode => "802.3ad", :lacprate => "fast", @@ -16,22 +17,21 @@ default_attributes( :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] } }, - :external_ipv4 => { + :external => { :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "184.104.226.110" - }, - :external_ipv6 => { - :interface => "bond0.101", - :role => :external, - :family => :inet6, - :address => "2001:470:1:b3b::e" + :inet => { + :address => "184.104.226.110" + }, + :inet6 => { + :address => "2001:470:1:b3b::e" + } } } } ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[matomo]" )