X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b8b28fe06033fec880ba9b179e63387ed5a70fa0..5680fb8cfeab3486ae5bfe1283ffc6cf13ac57a2:/cookbooks/taginfo/recipes/default.rb diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index c991fa209..6c0062f99 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -50,6 +50,7 @@ gem_package "rack-contrib" apache_module "cache" apache_module "cache_disk" +apache_module "headers" template "/etc/cron.d/taginfo" do source "cron.erb" @@ -111,11 +112,12 @@ node[:taginfo][:sites].each do |site| settings["instance"]["about"] = about settings["instance"]["icon"] = "/img/logo/#{icon}.png" settings["instance"]["contact"] = contact + settings["instance"]["access_control_allow_origin"] = "" settings["logging"]["directory"] = "/var/log/taginfo/#{name}" settings["opensearch"]["shortname"] = "Taginfo" settings["opensearch"]["contact"] = "webmaster@openstreetmap.org" settings["sources"]["download"] = "josm" - settings["sources"]["create"] = "db languages potlatch wiki" + settings["sources"]["create"] = "db languages potlatch projects wiki" settings["sources"]["db"]["planetfile"] = "#{directory}/planet/planet.pbf" settings["sources"]["db"]["tagstats"] = "#{directory}/taginfo/tagstats/tagstats" settings["tagstats"]["cxxflags"] = "-I../../osmium/include"