]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
Switch OTRS to letsencrypt
[chef.git] / cookbooks / imagery / resources / site.rb
index d0f51a0a6b3430bde89d06232e88bbbbe5a3018f..f80f0407a0ff6c13cd8c7ddd186c9d8938991843 100644 (file)
@@ -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