X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d95e601da5219ee70f08d20237713c75b8804645..3f7ec5c690ae313e1f08757a42792f9f12f6f486:/roles/jakelong.rb?ds=inline diff --git a/roles/jakelong.rb b/roles/jakelong.rb index dcd6e5787..1f92c87df 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -2,13 +2,18 @@ name "jakelong" description "Master role applied to jakelong" 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.12", + :inet => { + :address => "10.0.64.12" + }, :bond => { :mode => "802.3ad", :lacprate => "fast", @@ -16,22 +21,23 @@ default_attributes( :slaves => %w[eno1 eno2 eno3 eno4 ens1f0 ens1f1] } }, - :external_ipv4 => { + :external => { :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "184.104.226.108" - }, - :external_ipv6 => { - :interface => "bond0.101", - :role => :external, - :family => :inet6, - :address => "2001:470:1:b3b::c" + :inet => { + :address => "184.104.226.108" + }, + :inet6 => { + :address => "2001:470:1:b3b::c" + } } } } ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[hp-dl360e-g8]", + "role[community]", + "recipe[dhcpd]" )