X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ba44ae68d149dfd763f10d11e40fd938e4c9764c..f112a31d68b020d1443d2fa38d2941de50e2eaa4:/roles/gorwen.rb diff --git a/roles/gorwen.rb b/roles/gorwen.rb index a5452e40b..929ffbac0 100644 --- a/roles/gorwen.rb +++ b/roles/gorwen.rb @@ -2,13 +2,18 @@ name "gorwen" description "Master role applied to gorwen" default_attributes( + :dhcpd => { + :first_address => "10.0.78.1", + :last_address => "10.0.78.254" + }, :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.64.11", + :inet => { + :address => "10.0.64.12" + }, :bond => { :mode => "802.3ad", :lacprate => "fast", @@ -16,17 +21,15 @@ default_attributes( :slaves => %w[eno1 eno2 eno3 eno4 ens1f0 ens1f1] } }, - :external_ipv4 => { + :external => { :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "184.104.226.107" - }, - :external_ipv6 => { - :interface => "bond0.101", - :role => :external, - :family => :inet6, - :address => "2001:470:1:b3b::b" + :inet => { + :address => "184.104.226.108" + }, + :inet6 => { + :address => "2001:470:1:b3b::c" + } } } } @@ -34,5 +37,7 @@ default_attributes( run_list( "role[equinix-dub]", - "role[hp-dl360e-g8]" + "role[hp-dl360e-g8]", + "role[community]", + "recipe[dhcpd]" )