X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3d9b73d7e89d4b4266840a2f5fb7f90061d5c1b6..23b449a94ef4ffc4746775f6a6d6b88c8a1c46c9:/cookbooks/web/definitions/rails_port.rb diff --git a/cookbooks/web/definitions/rails_port.rb b/cookbooks/web/definitions/rails_port.rb index fe60c1c64..6d0c966ab 100644 --- a/cookbooks/web/definitions/rails_port.rb +++ b/cookbooks/web/definitions/rails_port.rb @@ -110,8 +110,8 @@ define :rails_port, :action => [:create, :enable] do end application_yml = edit_file "#{rails_directory}/config/example.application.yml" do |line| - line.gsub!(/^( *)#server_protocol:.*$/, "\\1server_protocol: \"https\"") - line.gsub!(/^( *)#server_url:.*$/, "\\1server_url: \"#{name}\"") + line.gsub!(/^( *)server_protocol:.*$/, "\\1server_protocol: \"https\"") + line.gsub!(/^( *)server_url:.*$/, "\\1server_url: \"#{name}\"") line.gsub!(/^( *)#publisher_url:.*$/, "\\1publisher_url: \"https://plus.google.com/111953119785824514010\"")