X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5517dbf1904795f710675847cd2a49f64009286c..5f13b21c83e1181dbc494b36fd4a06a07711e0ac:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 067c1334c..412d02dae 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -272,6 +272,7 @@ action :create do line.gsub!(/^( *)require_terms_seen:.*$/, "\\1require_terms_seen: true") line.gsub!(/^( *)require_terms_agreed:.*$/, "\\1require_terms_agreed: true") + line.gsub!(/^( *)trace_use_job_queue:.*$/, "\\1trace_use_job_queue: false") line end @@ -346,6 +347,7 @@ action :create do end passenger_application rails_directory do + action :nothing only_if { ::File.exist?("/usr/bin/passenger-config") } end