]> git.openstreetmap.org Git - chef.git/commitdiff
Update carto stylesheet to v3.0.0
authorTom Hughes <tom@compton.nu>
Thu, 22 Dec 2016 19:14:54 +0000 (19:14 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 22 Dec 2016 19:14:54 +0000 (19:14 +0000)
Closes #105

cookbooks/tile/recipes/default.rb
roles/tile.rb

index 5083790c37d7680cefa8d46a666358b00b9e7305..0f10f064f65c455b8c0942769547acfbfe871c5b 100644 (file)
@@ -315,7 +315,7 @@ node[:tile][:styles].each do |name, details|
 
   execute "#{style_directory}/project.mml" do
     action :nothing
 
   execute "#{style_directory}/project.mml" do
     action :nothing
-    command "carto project.mml > project.xml"
+    command "carto -a 3.0.0 project.mml > project.xml"
     cwd style_directory
     user "tile"
     group "tile"
     cwd style_directory
     user "tile"
     group "tile"
index 4d2683af1599b5b19ccaf1ef7b3e9f08b239dc68..a0375726831b0ea1717c17f269f873305f9c512e 100644 (file)
@@ -90,7 +90,7 @@ default_attributes(
     :styles => {
       :default => {
         :repository => "git://github.com/gravitystorm/openstreetmap-carto.git",
     :styles => {
       :default => {
         :repository => "git://github.com/gravitystorm/openstreetmap-carto.git",
-        :revision => "v2.45.1",
+        :revision => "v3.0.0",
         :max_zoom => 19
       }
     }
         :max_zoom => 19
       }
     }