--- /dev/null
+name "culebre"
+description "Master role applied to culebre"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.9",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.105"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::9"
+ }
+ }
+ },
+ :postgresql => {
+ :settings => {
+ :defaults => {
+ :shared_buffers => "8GB",
+ :maintenance_work_mem => "7144MB",
+ :effective_cache_size => "16GB"
+ }
+ }
+ },
+ :sysctl => {
+ :postgres => {
+ :comment => "Increase shared memory for postgres",
+ :parameters => {
+ "kernel.shmmax" => 9 * 1024 * 1024 * 1024,
+ "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096
+ }
+ }
+ },
+ :tile => {
+ :database => {
+ :cluster => "12/main",
+ :postgis => "3"
+ },
+ :mapnik => "3.1",
+ :styles => {
+ :default => {
+ :tile_directories => [
+ { :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 }
+ ]
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[tile]"
+)
--- /dev/null
+name "fafnir"
+description "Master role applied to fafnir"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.2",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.98"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::2"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]",
+ "role[gateway]",
+ "role[web-storage]"
+)
--- /dev/null
+name "idris"
+description "Master role applied to idris"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.6",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.102"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::6"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]"
+)
--- /dev/null
+name "konqi"
+description "Master role applied to konqi"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.7",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.103"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::7"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]"
+)
--- /dev/null
+name "naga"
+description "Master role applied to naga"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.8",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.104"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::8"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]"
+)
--- /dev/null
+name "snap-03"
+description "Master role applied to snap-03"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.50",
+ :bond => {
+ :slaves => %w[eno1 eno2 eno3 eno4]
+ }
+ }
+ }
+ },
+ :postgresql => {
+ :settings => {
+ :defaults => {
+ :shared_buffers => "128GB",
+ :work_mem => "128MB",
+ :maintenance_work_mem => "2GB",
+ :effective_cache_size => "360GB",
+ :effective_io_concurrency => "256",
+ :random_page_cost => "1.1"
+ }
+ }
+ },
+ :sysctl => {
+ :postgres => {
+ :comment => "Increase shared memory for postgres",
+ :parameters => {
+ "kernel.shmmax" => 132 * 1024 * 1024 * 1024,
+ "kernel.shmall" => 132 * 1024 * 1024 * 1024 / 4096
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[db-slave]"
+)
--- /dev/null
+name "spike-01"
+description "Master role applied to spike-01"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.3",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.99"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::3"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]",
+ "role[web-frontend]"
+)
--- /dev/null
+name "spike-02"
+description "Master role applied to spike-02"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.4",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.100"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::4"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]",
+ "role[web-frontend]"
+)
--- /dev/null
+name "spike-03"
+description "Master role applied to spike-03"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "bond0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.64.5",
+ :bond => {
+ :slaves => %w[eno1 eno2]
+ }
+ },
+ :external_ipv4 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet,
+ :address => "184.104.226.101"
+ },
+ :external_ipv6 => {
+ :interface => "bond0.2",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:470:1:b3b::5"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[equinix-dub]",
+ "role[hp-g9]",
+ "role[web-frontend]"
+)