templates/passenger/config/rubber/role/passenger/passenger-apache-vhost.conf in rubber-2.16.0 vs templates/passenger/config/rubber/role/passenger/passenger-apache-vhost.conf in rubber-3.0.0
- old
+ new
@@ -1,6 +1,6 @@
<%
- is_old_ubuntu = %w[10.04 12.04].include?(rubber_instance.os_version)
+ is_old_ubuntu = rubber_instance.os_version == '12.04'
# Apache 2.2 requires no extension while Apache 2.4 requires the '.conf' extension.
@path = "/etc/apache2/sites-available/#{rubber_env.app_name}-passenger"
@path << '.conf' unless is_old_ubuntu