X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e1d4946d46fa7d37f6deb50faaf5b92bf5659f2c..0457132a07ccb7a507d2392fb8e7ce8b1e114e93:/cookbooks/web/definitions/rails_port.rb diff --git a/cookbooks/web/definitions/rails_port.rb b/cookbooks/web/definitions/rails_port.rb index ccf6633ba..a6bf96963 100644 --- a/cookbooks/web/definitions/rails_port.rb +++ b/cookbooks/web/definitions/rails_port.rb @@ -208,12 +208,6 @@ define :rails_port, :action => [ :create, :enable ] do line.gsub!(/^( *)require_terms_seen:.*$/, "\\1require_terms_seen: true") line.gsub!(/^( *)require_terms_agreed:.*$/, "\\1require_terms_agreed: true") - if params[:piwik_location] - line.gsub!(/^( *)#piwik_location:.*$/, "\\1piwik_location: \"#{params[:piwik_location]}\"") - line.gsub!(/^( *)#piwik_site:.*$/, "\\1piwik_site: #{params[:piwik_site]}") - line.gsub!(/^( *)#piwik_signup_goal:.*$/, "\\1piwik_signup_goal: #{params[:piwik_signup_goal]}") - end - line end notifies :touch, resources(:file => "#{rails_directory}/tmp/restart.txt")