9af69741f1e0f3714b1ee51deaed211a533b7f9c
[chef.git] / cookbooks / passenger / attributes / default.rb
1 default[:passenger][:version] = 5
2 default[:passenger][:ruby_version] = "1.9.1"
3 default[:passenger][:max_pool_size] = 6
4 default[:passenger][:pool_idle_time] = 300
5
6 if node[:passenger][:version] == 4
7   default[:apt][:sources] = node[:apt][:sources] | ["brightbox-ruby-ng", "passenger4"]
8 else
9   default[:apt][:sources] = node[:apt][:sources] | ["brightbox-ruby-ng", "passenger"]
10 end