Only install passenger-common for passenger 3
authorTom Hughes <tom@compton.nu>
Mon, 7 Jul 2014 19:13:14 +0000 (20:13 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 7 Jul 2014 19:13:14 +0000 (20:13 +0100)
cookbooks/passenger/recipes/default.rb

index 769342ef9889b04afa33a5b453e3956d1d252872..8b74aa0c0b8883c897e97a649188945fd2e9cc35 100644 (file)
@@ -37,7 +37,9 @@ apache_module "passenger" do
   conf "passenger.conf.erb"
 end
 
-package "passenger-common#{node[:passenger][:ruby_version]}"
+if node[:passenger][:version] < "4"
+  package "passenger-common#{node[:passenger][:ruby_version]}"
+end
 
 munin_plugin "passenger_memory"
 munin_plugin "passenger_processes"