group new_resource.group
notifies :run, "execute[#{rails_directory}/Gemfile]"
notifies :run, "execute[#{rails_directory}/app/assets/javascripts/i18n]"
+ notifies :run, "execute[#{rails_directory}/public/assets]"
notifies :delete, "file[#{rails_directory}/public/export/embed.html]"
notifies :restart, "passenger_application[#{rails_directory}]"
end
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
end
passenger_application rails_directory do
+ action :nothing
only_if { ::File.exist?("/usr/bin/passenger-config") }
end