From: Tom Hughes Date: Thu, 26 Sep 2024 13:30:58 +0000 (+0100) Subject: Restore role for tabaluga X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/b3538164e1ccbc85adc78d47cdcd9ba4e456aacf Restore role for tabaluga --- diff --git a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb index e5381a506..26d1271be 100644 --- a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb +++ b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb @@ -254,7 +254,7 @@ host spike-08.oob.openstreetmap.org { } host tabaluga.oob.openstreetmap.org { - hardware ethernet 38:63:bb:39:82:7a; + hardware ethernet 30:e1:71:5a:a4:6a; server-name "tabaluga.oob.openstreetmap.org"; fixed-address tabaluga.oob.openstreetmap.org; } diff --git a/roles/tabaluga.rb b/roles/tabaluga.rb new file mode 100644 index 000000000..60b585475 --- /dev/null +++ b/roles/tabaluga.rb @@ -0,0 +1,37 @@ +name "tabaluga" +description "Master role applied to tabaluga" + +default_attributes( + :networking => { + :interfaces => { + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.48.14" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2] + } + }, + :external => { + :interface => "bond0.2", + :role => :external, + :inet => { + :address => "184.104.179.142" + }, + :inet6 => { + :address => "2001:470:1:fa1::e" + } + } + } + } +) + +run_list( + "role[equinix-ams]", + "role[hp-g9]" +)