]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dulcy.rb
Make karm the database master
[chef.git] / roles / dulcy.rb
index f444ded4442a54e4dc67360a13fd5f58cb82b363..51f6efab8dd3bb5ec11bb954ce996265486daaa8 100644 (file)
@@ -8,23 +8,23 @@ default_attributes(
         :interface => "bond0",
         :role => :internal,
         :family => :inet,
         :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "10.0.48.1",
+        :address => "10.0.48.9",
         :bond => {
           :slaves => %w[p18p1 p18p2]
         }
       },
       :external_ipv4 => {
         :bond => {
           :slaves => %w[p18p1 p18p2]
         }
       },
       :external_ipv4 => {
-        :interface => "bond0.3",
+        :interface => "bond0.2",
         :role => :external,
         :family => :inet,
         :role => :external,
         :family => :inet,
-        :address => "130.117.76.1"
+        :address => "130.117.76.9"
       },
       },
-      :external_ipv6 => {
-      #   :interface => "bond0.3",
-        :role => :external,
-        :family => :inet6,
-      #   :address => "2001:978:2:2C::172:1001"
-      }
+      :external_ipv6 => {
+        :interface => "bond0.2",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:978:2:2C::172:9"
+      }
     }
   },
   :postgresql => {
     }
   },
   :postgresql => {
@@ -46,6 +46,7 @@ default_attributes(
     :enable_git_updates => true,
     :dbadmins => %w[lonvia tomh],
     :dbcluster => "9.6/main",
     :enable_git_updates => true,
     :dbadmins => %w[lonvia tomh],
     :dbcluster => "9.6/main",
+    :postgis => "2.3",
     :flatnode_file => "/ssd/nominatim/nodes.store",
     :logdir => "/ssd/nominatim/log",
     :tablespaces => {
     :flatnode_file => "/ssd/nominatim/nodes.store",
     :logdir => "/ssd/nominatim/log",
     :tablespaces => {
@@ -73,6 +74,6 @@ default_attributes(
 )
 
 run_list(
 )
 
 run_list(
-  "role[ic]",
+  "role[equinix]",
   "role[nominatim]"
 )
   "role[nominatim]"
 )