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
Clean up dependencies, avoiding double "installing" message.
  • Loading branch information
sbleon committed Dec 26, 2011
commit 9be58ff2a497624d4ece8cd8e22306b7dab1da35
8 changes: 5 additions & 3 deletions config/stack/apache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
passenger_gem_path = "#{RUBY_PATH}/lib/ruby/gems/1.8/gems/passenger-#{version}"
passenger_module = "#{passenger_gem_path}/ext/apache2/mod_passenger.so"

apt 'libcurl4-gnutls-dev' # Compilation dependency for apache module

gem 'passenger', :version => version do
binaries.each {|bin| post :install, "ln -s -f #{RUBY_PATH}/bin/#{bin} /usr/local/bin/#{bin}"} # The -f forces the operation, so it doesn't fail the second time you run it.

Expand Down Expand Up @@ -64,7 +62,11 @@
#has_process "apache2"
end

requires :apache, :apache2_prefork_dev, :ruby
requires :apache, :apache2_prefork_dev, :ruby, :passenger_dependencies
end

package :passenger_dependencies do
apt 'libcurl4-gnutls-dev' # Compilation dependency for apache module
end

# These "installers" are strictly optional, I believe
Expand Down