]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/donate/recipes/default.rb
Remove some no longer needed code for old Ubuntu versions
[chef.git] / cookbooks / donate / recipes / default.rb
index d1b431bd782d20b310d5c303e3acefaa8e0a15dc..89eb26d57462d16fcd03b74deed59d22b8df5621 100644 (file)
@@ -21,23 +21,13 @@ include_recipe "apache"
 include_recipe "mysql"
 include_recipe "git"
 
-if node[:lsb][:release].to_f >= 16.04
-  package "php"
-  package "php-cli"
-  package "php-curl"
-  package "php-mysql"
-  package "php-gd"
-
-  apache_module "php7.0"
-else
-  package "php5"
-  package "php5-cli"
-  package "php5-curl"
-  package "php5-mysql"
-  package "php5-gd"
-
-  apache_module "php5"
-end
+package "php"
+package "php-cli"
+package "php-curl"
+package "php-mysql"
+package "php-gd"
+
+apache_module "php7.0"
 
 apache_module "headers"