]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/recipes/default.rb
Only add a domein to relay_to_domains if we are really relaying to it
[chef.git] / cookbooks / passenger / recipes / default.rb
index 6656ce338544a50b91ea9f243c083a8441d6acdc..267942f0a4c1b5f4c64e5fd71b966b2e609eb8bf 100644 (file)
 
 include_recipe "apache"
 
+package "ruby#{node[:passenger][:ruby_version]}"
+package "ruby#{node[:passenger][:ruby_version]}-dev"
+package "rubygems#{node[:passenger][:ruby_version]}"
+package "irb#{node[:passenger][:ruby_version]}"
+
 template "/usr/local/bin/passenger-ruby" do
   source "ruby.erb"
   owner "root"
@@ -31,8 +36,6 @@ apache_module "passenger" do
   conf "passenger.conf.erb"
 end
 
-package "passenger-common#{node[:passenger][:ruby_version]}"
-
 munin_plugin "passenger_memory"
 munin_plugin "passenger_processes"
 munin_plugin "passenger_queues"