]> git.openstreetmap.org Git - chef.git/blobdiff - roles/naga.rb
otrs: use correct cluster port
[chef.git] / roles / naga.rb
index c9b7e00c4b8bf8e8277394f5da8787307985e888..2586aaf4a194fe35551afefa0a3b75d51f47041d 100644 (file)
@@ -4,11 +4,12 @@ description "Master role applied to naga"
 default_attributes(
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
+      :internal => {
         :interface => "bond0",
         :role => :internal,
-        :family => :inet,
-        :address => "10.0.64.8",
+        :inet => {
+          :address => "10.0.64.8"
+        },
         :bond => {
           :mode => "802.3ad",
           :lacprate => "fast",
@@ -16,17 +17,28 @@ default_attributes(
           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
         }
       },
-      :external_ipv4 => {
+      :external => {
         :interface => "bond0.101",
         :role => :external,
-        :family => :inet,
-        :address => "184.104.226.104"
-      },
-      :external_ipv6 => {
-        :interface => "bond0.101",
-        :role => :external,
-        :family => :inet6,
-        :address => "2001:470:1:b3b::8"
+        :inet => {
+          :address => "184.104.226.104"
+        },
+        :inet6 => {
+          :address => "2001:470:1:b3b::8"
+        }
+      }
+    }
+  },
+  :otrs => {
+    :site => "test.otrs.openstreetmap.org",
+    :site_aliases => ["test.otrs.osm.org"],
+    :database_cluster => "16/main"
+  },
+  :postgresql => {
+    :versions => ["16"],
+    :settings => {
+      "16" => {
+        :port => 5433
       }
     }
   }
@@ -39,9 +51,13 @@ run_list(
   "role[trac]",
   "role[irc]",
   "role[blogs]",
-  "role[munin]",
   "role[switch2osm]",
+  "recipe[foundation::mastodon]",
   "recipe[foundation::owg]",
   "recipe[foundation::welcome]",
-  "recipe[stateofthemap::container]"
+  "recipe[stateofthemap::container]",
+  "recipe[hot]",
+  "recipe[ideditor]",
+  "recipe[dmca]",
+  "recipe[otrs::debian]"
 )