]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dulcy.rb
put dulcy in import mode
[chef.git] / roles / dulcy.rb
index f444ded4442a54e4dc67360a13fd5f58cb82b363..a044b724a296bfe7df313a69a7d935eb2918f8bb 100644 (file)
@@ -8,44 +8,45 @@ default_attributes(
         :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "10.0.48.1",
+        :address => "10.0.48.9",
         :bond => {
           :slaves => %w[p18p1 p18p2]
         }
       },
       :external_ipv4 => {
-        :interface => "bond0.3",
+        :interface => "bond0.2",
         :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 => {
-    :versions => ["9.6"],
+    :versions => ["10"],
     :settings => {
       :defaults => {
         :work_mem => "300MB",
         :maintenance_work_mem => "10GB",
         :random_page_cost => "1.5",
         :effective_cache_size => "60GB",
-        :fsync => "on",
+        :fsync => "off",
         :effective_io_concurrency => "3"
       }
     }
   },
   :nominatim => {
-    :state => "standalone",
+    :state => "off",
     :enable_backup => false,
     :enable_git_updates => true,
     :dbadmins => %w[lonvia tomh],
-    :dbcluster => "9.6/main",
+    :dbcluster => "10/main",
+    :postgis => "2.4",
     :flatnode_file => "/ssd/nominatim/nodes.store",
     :logdir => "/ssd/nominatim/log",
     :tablespaces => {
@@ -73,6 +74,6 @@ default_attributes(
 )
 
 run_list(
-  "role[ic]",
+  "role[equinix]",
   "role[nominatim]"
 )