]> git.openstreetmap.org Git - chef.git/commitdiff
Ignode failures refreshing data sources on tile servers
authorTom Hughes <tom@compton.nu>
Sun, 20 Sep 2015 20:41:14 +0000 (21:41 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 20 Sep 2015 20:41:14 +0000 (21:41 +0100)
cookbooks/tile/recipes/default.rb

index 76a4f9b58c209d0d9ec53516ed9baff954678872..4ab6b8bbda23489c4760aaaecb3ed2a284e0891e 100644 (file)
@@ -215,6 +215,7 @@ node[:tile][:data].each_value do |data|
     if data[:refresh]
       action :create
       use_conditional_get true
     if data[:refresh]
       action :create
       use_conditional_get true
+      ignore_failure true
     else
       action :create_if_missing
     end
     else
       action :create_if_missing
     end