Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
COOK-2750 enable passenger apache module in mod_rails recipe
Browse files Browse the repository at this point in the history
Some users just put mod_rails recipe in their run_list instead of
the default recipe since that worked prior to the 2.0 release of
this cookbook.
This ensures the passenger apache module files are created before
attempting to enable the module.
  • Loading branch information
Jeremiah Snapp committed May 15, 2013
1 parent 5aed9c1 commit ae9fbbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@
if(node['passenger']['manage_module_conf'])
include_recipe 'passenger_apache2::mod_rails'
end

apache_module 'passenger' do
module_path node['passenger']['module_path']
end
4 changes: 4 additions & 0 deletions recipes/mod_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@
group 'root'
mode 0644
end

apache_module 'passenger' do
module_path node['passenger']['module_path']
end

0 comments on commit ae9fbbb

Please sign in to comment.