X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..5bb7bf7aa78aa8bc9876f3ec3502572f4b6809d3:/cookbooks/php/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index ccce26093..5dd05a52b 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -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 - default[:php][:fpm][:options] = {}