X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/075747b74dc46148774f470bb00afa2e853c9508..1fdcbdc3d4f9fa8b6f371053d36c10a21e27005d:/cookbooks/php/attributes/default.rb diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index 0ca636813..5dd05a52b 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1,5 +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] = {}