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")
potlatch2_key web_passwords["potlatch2_key"]
id_key web_passwords["id_key"]
oauth_key web_passwords["oauth_key"]
- piwik_location "piwik.openstreetmap.org"
- piwik_site 1
- piwik_signup_goal 1
piwik_configuration piwik_configuration
end