]> git.openstreetmap.org Git - chef.git/commitdiff
Add tile-600 role for tile servers running carto 6.0.0 master
authorTom Hughes <tom@compton.nu>
Thu, 12 Mar 2026 19:27:49 +0000 (19:27 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 12 Mar 2026 20:12:55 +0000 (20:12 +0000)
roles/tile-600.rb [new file with mode: 0644]

diff --git a/roles/tile-600.rb b/roles/tile-600.rb
new file mode 100644 (file)
index 0000000..97af468
--- /dev/null
@@ -0,0 +1,23 @@
+name "tile-600"
+description "Role applied to all tile servers running carto 6.0.0"
+
+default_attributes(
+  :tile => {
+    :database => {
+      :output_mode => "flex",
+      :tag_transform_script => "/srv/tile.openstreetmap.org/styles/default/openstreetmap-carto-flex.lua"
+    },
+    :styles => {
+      :default => {
+        :revision => "v6.0.0",
+        :fonts_script => "/srv/tile.openstreetmap.org/styles/default/scripts/get-fonts.py",
+        :common_values_script => "/srv/tile.openstreetmap.org/styles/default/common-values.sql",
+        :common_values_tables => %w[carto_pois]
+      }
+    }
+  }
+)
+
+run_list(
+  "role[tile]"
+)