From: Tom Hughes Date: Sun, 17 Mar 2019 11:55:22 +0000 (+0000) Subject: Convert property names to strings for the settings file X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/579af7eb69127e74f472ccf7ae4e84c7cd656786 Convert property names to strings for the settings file --- diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 12c020652..598c757fe 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -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",