package "nodejs"
package "g++"
+ package "pkg-config"
package "libpq-dev"
package "libsasl2-dev"
package "libxml2-dev"
cwd rails_directory
user "root"
group "root"
+ environment "NOKOGIRI_USE_SYSTEM_LIBRARIES" => "yes"
if run_migrations
notifies :run, "execute[#{rails_directory}/db/migrate]"
else
line.gsub!(/^( *)#oauth_key:.*$/, "\\1oauth_key: \"#{params[:oauth_key]}\"")
end
+ if params[:nominatim_url]
+ line.gsub!(/^( *)nominatim_url:.*$/, "\\1nominatim_url: \"#{params[:nominatim_url]}\"")
+ end
+
line.gsub!(/^( *)require_terms_seen:.*$/, "\\1require_terms_seen: true")
line.gsub!(/^( *)require_terms_agreed:.*$/, "\\1require_terms_agreed: true")