X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/60b19818712842f23e5039de2202f7ee45dbb614..6308ad8a8eb6ead04c2a1b9be15ee3a496cd09de:/cookbooks/php/attributes/default.rb diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index ecc9c7c66..f83c1356d 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1 +1,6 @@ -default[:php][:version] = "7.2" +default[:php][:version] = if node[:lsb][:release].to_f < 22.04 + "7.4" + else + "8.1" + end +default[:php][:fpm][:options] = {}