]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim-master.rb
name template script correctly
[chef.git] / roles / nominatim-master.rb
index e54179fd70b59c158b286740b70786b959253420..bec27ef1eb51e76901cf90038f02b8f49bffade3 100644 (file)
@@ -6,11 +6,10 @@ default_attributes(
     :versions => ["9.3"],
     :settings => {
       :defaults => {
-        :listen_addresses => "*",
         :wal_level => "hot_standby",
         :archive_mode => "on",
         :archive_command => "/bin/cp %p /data/postgresql-archive/%f",
-        :max_wal_senders => "1",
+        :max_wal_senders => "5",
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "146.179.159.164/32" }
         ]
@@ -18,6 +17,7 @@ default_attributes(
     }
   },
   :nominatim => {
+    :enabled => true,
     :enable_backup => true
   },
   :rsyncd => {
@@ -41,5 +41,6 @@ default_attributes(
 
 run_list(
   "role[nominatim]",
+  "recipe[nominatim::master]",
   "recipe[rsyncd]"
 )