X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f632539b3cf01c2a5f241d17b054dd58d9bdfde2..17a8df13066867441cb94141ce31a8ecd21df780:/roles/smaug.rb diff --git a/roles/smaug.rb b/roles/smaug.rb index 547143452..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,17 +17,15 @@ 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" + } } } }