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