Skip to content

Now with support for current REE, Passenger, Oneiric and Lucid #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2bf8534
Improve idempotency by allowing ln to run if recipe is executed a sec…
sbleon Dec 22, 2011
f74b4b8
Switch to a version of git that doesn't 404.
sbleon Dec 22, 2011
5a2aaa6
Add compilation dependency for apache2 module.
sbleon Dec 22, 2011
0f281a6
Backup and recreate passenger.conf
sbleon Dec 22, 2011
772e88b
Changed path of validated location of apache2 module to match where i…
sbleon Dec 22, 2011
92588ea
Fix the way I replace passenger.conf
sbleon Dec 22, 2011
e75a8ab
Updated passenger version to one that currently gets downloaded. This…
sbleon Dec 22, 2011
81e51af
Sorry for the big commit! This includes many things:
sbleon Dec 23, 2011
37937d5
Comment pre-install SSLv2 patch.
sbleon Dec 26, 2011
e0fd59c
Switched from using "ruby_enterprise" as a dependency in favor of jus…
sbleon Dec 26, 2011
ae7c44d
Switch to generic 'ruby' metapackage name instead of specifying ruby_…
sbleon Dec 26, 2011
7879c53
Whoops! Shouldn't have changed that one "ruby_enterprise" in the requ…
sbleon Dec 26, 2011
9be58ff
Clean up dependencies, avoiding double "installing" message.
sbleon Dec 26, 2011
74f585f
Rename "scm" file to "git" so it's clear what it is.
sbleon Dec 26, 2011
706586e
Add github ssh keys for all users on system
sbleon Dec 26, 2011
dfeb635
Added some gems
sbleon Dec 27, 2011
1484587
Moved Mysql gem into its own package and file so it can be installed …
sbleon Dec 27, 2011
10c667b
Added mysql2 gem
sbleon Dec 28, 2011
7c0ddad
Added some missing verifiers. Standardized on gnutls SSL packages (in…
sbleon Dec 29, 2011
79e3185
Added postfix mail server
sbleon Jan 3, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated passenger version to one that currently gets downloaded. This…
… will break when they release a new version. Moved modification of main Apache config.
  • Loading branch information
sbleon committed Dec 22, 2011
commit e75a8ab2c556a12838d7dd99230b62f7e7e2e1b7
5 changes: 3 additions & 2 deletions config/stack/apache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package :passenger, :provides => :appserver do
description 'Phusion Passenger (mod_rails)'
version '2.2.4'
version '3.0.11' # I don't think this version is necessarily installed, as I had to update this the version of passenger it had gotten me.
binaries = %w(passenger-config passenger-install-nginx-module passenger-install-apache2-module passenger-make-enterprisey passenger-memory-stats passenger-spawn-server passenger-status passenger-stress-test)

gem 'passenger', :version => version do
Expand All @@ -35,7 +35,6 @@
post :install, 'rm -rf /etc/apache2/extras/passenger.conf'
# recreate file
post :install, 'touch /etc/apache2/extras/passenger.conf'
post :install, 'echo "Include /etc/apache2/extras/passenger.conf"|sudo tee -a /etc/apache2/apache2.conf'

[%Q(LoadModule passenger_module /usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-#{version}/ext/apache2/mod_passenger.so),
%Q(PassengerRoot /usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-#{version}),
Expand All @@ -44,6 +43,8 @@
post :install, "echo '#{line}' |sudo tee -a /etc/apache2/extras/passenger.conf"
end

# Tell apache to use new config file
post :install, 'echo "Include /etc/apache2/extras/passenger.conf"|sudo tee -a /etc/apache2/apache2.conf'
# Restart apache to note changes
post :install, '/etc/init.d/apache2 restart'
end
Expand Down