Drop support for passenger 4
authorTom Hughes <tom@compton.nu>
Mon, 7 Dec 2015 14:35:09 +0000 (14:35 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 7 Dec 2015 14:35:09 +0000 (14:35 +0000)
cookbooks/apt/recipes/default.rb
cookbooks/passenger/attributes/default.rb

index ab1285e9242151344c48ea564e11ede01a67d371..7467ef16b845ad964030fda27218014a60227026 100644 (file)
@@ -104,11 +104,6 @@ apt_source "passenger" do
   key "AC40B2F7"
 end
 
-apt_source "passenger4" do
-  url "https://oss-binaries.phusionpassenger.com/apt/passenger/4"
-  key "AC40B2F7"
-end
-
 apt_source "postgresql" do
   template "postgresql.list.erb"
   url "http://apt.postgresql.org/pub/repos/apt"
index 9af69741f1e0f3714b1ee51deaed211a533b7f9c..56816eac7b54f41cb302d18b85d941854b807739 100644 (file)
@@ -1,10 +1,5 @@
-default[:passenger][:version] = 5
 default[:passenger][:ruby_version] = "1.9.1"
 default[:passenger][:max_pool_size] = 6
 default[:passenger][:pool_idle_time] = 300
 
-if node[:passenger][:version] == 4
-  default[:apt][:sources] = node[:apt][:sources] | ["brightbox-ruby-ng", "passenger4"]
-else
-  default[:apt][:sources] = node[:apt][:sources] | ["brightbox-ruby-ng", "passenger"]
-end
+default[:apt][:sources] = node[:apt][:sources] | ["brightbox-ruby-ng", "passenger"]