Skip to content

Commit

Permalink
Restore role for tabaluga
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Sep 26, 2024
1 parent 08db2f0 commit b353816
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/dhcpd/templates/default/dhcpd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
37 changes: 37 additions & 0 deletions roles/tabaluga.rb
Original file line number Diff line number Diff line change
@@ -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]"
)

0 comments on commit b353816

Please sign in to comment.