From: Paul Norman Date: Mon, 10 Feb 2025 00:08:26 +0000 (-0800) Subject: Switch tilekiln version to attributes X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ec62776c1f6ca77cb55964d1aef9ca85c671fd83 Switch tilekiln version to attributes --- diff --git a/cookbooks/vectortile/attributes/default.rb b/cookbooks/vectortile/attributes/default.rb index b5e0933a6..912b7ee25 100644 --- a/cookbooks/vectortile/attributes/default.rb +++ b/cookbooks/vectortile/attributes/default.rb @@ -8,6 +8,8 @@ default[:vectortile][:replication][:status] = :enabled default[:vectortile][:replication][:tileupdate] = :enabled default[:vectortile][:replication][:threads] = node.cpu_cores +default[:vectortile][:tilekiln][:version] = "0.6.5" + default[:postgresql][:versions] |= [node[:vectortile][:database][:cluster].split("/").first] default[:postgresql][:monitor_database] = "tiles" # As an absolute worst case, the server might have the serving, update, and a manual generation process going on. diff --git a/cookbooks/vectortile/recipes/default.rb b/cookbooks/vectortile/recipes/default.rb index a8a78044c..898a3367d 100644 --- a/cookbooks/vectortile/recipes/default.rb +++ b/cookbooks/vectortile/recipes/default.rb @@ -100,7 +100,7 @@ end python_package "tilekiln" do python_virtualenv tilekiln_directory python_version "3" - version "0.6.5" + version node[:vectortile][:tilekiln][:version] end template "/srv/vector.openstreetmap.org/html/index.html" do