From ec62776c1f6ca77cb55964d1aef9ca85c671fd83 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Sun, 9 Feb 2025 16:08:26 -0800 Subject: [PATCH] Switch tilekiln version to attributes --- cookbooks/vectortile/attributes/default.rb | 2 ++ cookbooks/vectortile/recipes/default.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5