diff --git a/recipes/_install-linux.rb b/recipes/_install-linux.rb index 0b32b350ba0d9..0e144aaf950a0 100644 --- a/recipes/_install-linux.rb +++ b/recipes/_install-linux.rb @@ -73,10 +73,12 @@ allow_downgrade node['datadog']['agent_allow_downgrade'] end when 'suse' - zypper_package 'datadog-agent' do + zypper_package 'datadog-agent' do # ~FC009 version dd_agent_version retries package_retries unless package_retries.nil? retry_delay package_retry_delay unless package_retry_delay.nil? action package_action # default is :install + # allow_downgrade is only suported for zypper_package since Chef Client 13.6 + allow_downgrade node['datadog']['agent_allow_downgrade'] if respond_to?(:allow_downgrade) end end