X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..c1cedb50fda66272ae195ecec7f76ce3fffa7bd4:/cookbooks/php/attributes/default.rb diff --git a/cookbooks/php/attributes/default.rb b/cookbooks/php/attributes/default.rb index f83c1356d..5dd05a52b 100644 --- a/cookbooks/php/attributes/default.rb +++ b/cookbooks/php/attributes/default.rb @@ -1,4 +1,6 @@ -default[:php][:version] = if node[:lsb][:release].to_f < 22.04 +default[:php][:version] = if platform?("debian") + "8.2" + elsif node[:lsb][:release].to_f < 22.04 "7.4" else "8.1"