X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..a449993c2f97f5bfa7c66e8bc1e453946fe25bc7:/cookbooks/imagery/resources/site.rb?ds=sidebyside diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index d0f51a0a6..f80f0407a 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -77,7 +77,7 @@ action :create do end layers = Dir.glob("/srv/imagery/layers/#{name}/*.yml").collect do |path| - YAML.load(::File.read(path)) + YAML.safe_load(::File.read(path), [Symbol]) end template "/srv/#{name}/imagery.js" do