From 160ec7aacb790ddad193cd5f6caf2a2102cd5e9a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 11 Dec 2016 22:26:52 +0000 Subject: [PATCH] Add roles for tiamat nodes --- roles/tiamat-00.rb | 25 +++++++++++++++++++++++++ roles/tiamat-01.rb | 25 +++++++++++++++++++++++++ roles/tiamat-02.rb | 25 +++++++++++++++++++++++++ roles/tiamat-03.rb | 25 +++++++++++++++++++++++++ roles/tiamat-10.rb | 25 +++++++++++++++++++++++++ roles/tiamat-11.rb | 25 +++++++++++++++++++++++++ roles/tiamat-12.rb | 25 +++++++++++++++++++++++++ roles/tiamat-13.rb | 25 +++++++++++++++++++++++++ roles/tiamat-20.rb | 25 +++++++++++++++++++++++++ roles/tiamat-21.rb | 25 +++++++++++++++++++++++++ roles/tiamat-22.rb | 25 +++++++++++++++++++++++++ roles/tiamat-23.rb | 25 +++++++++++++++++++++++++ 12 files changed, 300 insertions(+) create mode 100644 roles/tiamat-00.rb create mode 100644 roles/tiamat-01.rb create mode 100644 roles/tiamat-02.rb create mode 100644 roles/tiamat-03.rb create mode 100644 roles/tiamat-10.rb create mode 100644 roles/tiamat-11.rb create mode 100644 roles/tiamat-12.rb create mode 100644 roles/tiamat-13.rb create mode 100644 roles/tiamat-20.rb create mode 100644 roles/tiamat-21.rb create mode 100644 roles/tiamat-22.rb create mode 100644 roles/tiamat-23.rb diff --git a/roles/tiamat-00.rb b/roles/tiamat-00.rb new file mode 100644 index 000000000..5e0f10478 --- /dev/null +++ b/roles/tiamat-00.rb @@ -0,0 +1,25 @@ +name "tiamat-00" +description "Master role applied to tiamat-00" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.40" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.40" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-01.rb b/roles/tiamat-01.rb new file mode 100644 index 000000000..2d3aff407 --- /dev/null +++ b/roles/tiamat-01.rb @@ -0,0 +1,25 @@ +name "tiamat-01" +description "Master role applied to tiamat-01" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.41" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.41" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-02.rb b/roles/tiamat-02.rb new file mode 100644 index 000000000..d8a2ed0c9 --- /dev/null +++ b/roles/tiamat-02.rb @@ -0,0 +1,25 @@ +name "tiamat-02" +description "Master role applied to tiamat-02" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.42" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.42" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-03.rb b/roles/tiamat-03.rb new file mode 100644 index 000000000..d550ad4ee --- /dev/null +++ b/roles/tiamat-03.rb @@ -0,0 +1,25 @@ +name "tiamat-03" +description "Master role applied to tiamat-03" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.43" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.43" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-10.rb b/roles/tiamat-10.rb new file mode 100644 index 000000000..2d8b6e557 --- /dev/null +++ b/roles/tiamat-10.rb @@ -0,0 +1,25 @@ +name "tiamat-10" +description "Master role applied to tiamat-10" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.44" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.44" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-11.rb b/roles/tiamat-11.rb new file mode 100644 index 000000000..b698d11c1 --- /dev/null +++ b/roles/tiamat-11.rb @@ -0,0 +1,25 @@ +name "tiamat-11" +description "Master role applied to tiamat-11" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.45" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.45" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-12.rb b/roles/tiamat-12.rb new file mode 100644 index 000000000..9dc371962 --- /dev/null +++ b/roles/tiamat-12.rb @@ -0,0 +1,25 @@ +name "tiamat-12" +description "Master role applied to tiamat-12" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.46" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.46" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-13.rb b/roles/tiamat-13.rb new file mode 100644 index 000000000..90b83797d --- /dev/null +++ b/roles/tiamat-13.rb @@ -0,0 +1,25 @@ +name "tiamat-13" +description "Master role applied to tiamat-13" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.47" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.47" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-20.rb b/roles/tiamat-20.rb new file mode 100644 index 000000000..48a33794f --- /dev/null +++ b/roles/tiamat-20.rb @@ -0,0 +1,25 @@ +name "tiamat-20" +description "Master role applied to tiamat-20" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.48" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.48" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-21.rb b/roles/tiamat-21.rb new file mode 100644 index 000000000..33badf508 --- /dev/null +++ b/roles/tiamat-21.rb @@ -0,0 +1,25 @@ +name "tiamat-21" +description "Master role applied to tiamat-21" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.49" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.49" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-22.rb b/roles/tiamat-22.rb new file mode 100644 index 000000000..f2359438b --- /dev/null +++ b/roles/tiamat-22.rb @@ -0,0 +1,25 @@ +name "tiamat-22" +description "Master role applied to tiamat-22" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.50" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.50" + } + } + } +) + +run_list( + "role[ucl]" +) diff --git a/roles/tiamat-23.rb b/roles/tiamat-23.rb new file mode 100644 index 000000000..886e5f611 --- /dev/null +++ b/roles/tiamat-23.rb @@ -0,0 +1,25 @@ +name "tiamat-23" +description "Master role applied to tiamat-23" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "enp1s0.2801", + :role => :internal, + :family => :inet, + :address => "10.0.0.51" + }, + :external_ipv4 => { + :interface => "enp1s0.2800", + :role => :external, + :family => :inet, + :address => "193.60.236.51" + } + } + } +) + +run_list( + "role[ucl]" +) -- 2.39.5