]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/resources/rails_port.rb
Convert property names to strings for the settings file
[chef.git] / cookbooks / web / resources / rails_port.rb
index 12c0206529c94e4fdd655eb0cfc26793b73d8ec6..598c757fed78bda03ed202c7a3bb944a0da68d0a 100644 (file)
@@ -283,7 +283,7 @@ action :create do
     not_if { ::File.exist?("#{rails_directory}/config/example.application.yml") }
   end
 
-  settings = new_resource.to_hash.slice(
+  settings = new_resource.to_hash.transform_keys(&:to_s).slice(
     "email_from",
     "status",
     "messages_domain",