]> git.openstreetmap.org Git - chef.git/commitdiff
Add new config setting for taginfo
authorJochen Topf <jochen@topf.org>
Thu, 29 Oct 2020 10:28:10 +0000 (11:28 +0100)
committerJochen Topf <jochen@topf.org>
Thu, 29 Oct 2020 10:28:10 +0000 (11:28 +0100)
This is in preparation for a change where this setting is expected in
the config file.

cookbooks/taginfo/recipes/default.rb

index c63b8707c1f45d2217ea7d65c980be6c71653161..be0cbb6142a4a7c92fc1e48ce19cd88d4afc8287 100644 (file)
@@ -146,6 +146,7 @@ node[:taginfo][:sites].each do |site|
     settings["logging"]["directory"] = "/var/log/taginfo/#{site_name}"
     settings["opensearch"]["shortname"] = "Taginfo"
     settings["opensearch"]["contact"] = "webmaster@openstreetmap.org"
+    settings["paths"]["bin_dir"] = "#{directory}/build/src"
     settings["sources"]["download"] = ""
     settings["sources"]["create"] = "db languages projects wiki"
     settings["sources"]["db"]["planetfile"] = "/var/lib/planet/planet.pbf"