Permalink
Browse files

passenger redhat fix

  • Loading branch information...
1 parent 82c9a69 commit ddf1813ee94690317b9e94819361277a410f6b7d @smith smith committed Feb 29, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 passenger_apache2/recipes/default.rb
View
8 passenger_apache2/recipes/default.rb
@@ -41,6 +41,12 @@
end
execute "passenger_module" do
- command 'echo -en "\n\n\n\n" | passenger-install-apache2-module'
+ command 'passenger-install-apache2-module --auto'
creates node[:passenger][:module_path]
end
+
+if platform?("redhat", "centos", "scientific", "fedora", "arch", "suse" )
+ link "#{node['apache']['lib_dir']}/modules/mod_passenger.so" do
+ to node['passenger']['module_path']
+ end
+end

0 comments on commit ddf1813

Please sign in to comment.