Skip to content
Browse files

Remove duplicate mod_xsendfile load directive. #2284.

  • Loading branch information...
1 parent b669c4d commit 6010d062414bdcbe2a76479bc6b202012835de9b David Yip committed Jul 13, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 chef/cookbooks/ncs_navigator/recipes/app.rb
View
7 chef/cookbooks/ncs_navigator/recipes/app.rb
@@ -36,8 +36,15 @@
extend Opscode::OpenSSL::Password
# The Rails apps need mod_xsendfile for asset pipeline support.
+#
+# The package-provided configuration file is removed because all it does is
+# load the module, which is the job of the apache_module definition.
yum_package "mod_xsendfile"
+file "#{node[:apache][:dir]}/conf.d/xsendfile.conf" do
+ action :delete
+end
+
apache_module "xsendfile"
# Generate session secrets for Core and Staff Portal.

0 comments on commit 6010d06

Please sign in to comment.
Something went wrong with that request. Please try again.