From: Tom Hughes Date: Sat, 23 Sep 2023 23:24:33 +0000 (+0100) Subject: Add roles for fume and grisu X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/4849412468d7908178ec1b325be875bea740006a Add roles for fume and grisu --- diff --git a/roles/fume.rb b/roles/fume.rb new file mode 100644 index 000000000..2f9902f0f --- /dev/null +++ b/roles/fume.rb @@ -0,0 +1,36 @@ +name "fume" +description "Master role applied to fume" + +default_attributes( + :networking => { + :interfaces => { + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.64.16" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } + }, + :external => { + :interface => "bond0.101", + :role => :external, + :inet => { + :address => "184.104.226.112" + }, + :inet6 => { + :address => "2001:470:1:b3b::10" + } + } + } + } +) + +run_list( + "role[equinix-dub]" +) diff --git a/roles/grisu.rb b/roles/grisu.rb new file mode 100644 index 000000000..c34fe2f53 --- /dev/null +++ b/roles/grisu.rb @@ -0,0 +1,36 @@ +name "grisu" +description "Master role applied to grisu" + +default_attributes( + :networking => { + :interfaces => { + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.64.17" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } + }, + :external => { + :interface => "bond0.101", + :role => :external, + :inet => { + :address => "184.104.226.113" + }, + :inet6 => { + :address => "2001:470:1:b3b::11" + } + } + } + } +) + +run_list( + "role[equinix-dub]" +)