]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/attributes/default.rb
otrs: Add otrs::debian for installing otrs via deb package
[chef.git] / cookbooks / php / attributes / default.rb
index d1bd6680afd0ce9ab7c848f068e88dbad314cda5..5dd05a52b3c0efd92be200dd7eac0be7ccda03c7 100644 (file)
@@ -1,7 +1,8 @@
-default[:php][:version] = if node[:lsb][:release].to_f < 20.04
-                            "7.2"
-                          else
+default[:php][:version] = if platform?("debian")
+                            "8.2"
+                          elsif node[:lsb][:release].to_f < 22.04
                             "7.4"
+                          else
+                            "8.1"
                           end
-
-override[:apache][:mpm] = "prefork"
+default[:php][:fpm][:options] = {}