X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/983dfd9f791190b759d457f9f31280fce60043ee..eb1313a389c4d7f517b78a0dfbe0f81f2d9095a2:/cookbooks/nominatim/recipes/master.rb diff --git a/cookbooks/nominatim/recipes/master.rb b/cookbooks/nominatim/recipes/master.rb index 22a2a580c..b135022b8 100644 --- a/cookbooks/nominatim/recipes/master.rb +++ b/cookbooks/nominatim/recipes/master.rb @@ -60,7 +60,7 @@ end directory wal_archives do owner "postgres" group "postgres" - mode 0700 + mode 0o700 only_if { node[:postgresql][:settings][:defaults][:archive_mode] == "on" } end @@ -68,7 +68,7 @@ template "/usr/local/bin/clean-db-nominatim" do source "clean-db-nominatim.erb" owner "root" group "root" - mode 0755 + mode 0o755 variables :archive_dir => wal_archives, :update_stop_file => "#{home_directory}/status/updates_disabled", :streaming_clients => slaves