]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/attributes/default.rb
Bump cookstyle from 7.18.0 to 7.20.0
[chef.git] / cookbooks / php / attributes / default.rb
index ecc9c7c66c746f7a042031340f9c316e3461ebf8..ccce260930be9ef6775deeb573fc2c92ccfa36f4 100644 (file)
@@ -1 +1,7 @@
-default[:php][:version] = "7.2"
+default[:php][:version] = if node[:lsb][:release].to_f < 20.04
+                            "7.2"
+                          else
+                            "7.4"
+                          end
+
+default[:php][:fpm][:options] = {}