removes allow downgrade, uncomments line
MODIFY
recipes/_install-linux.rb
recipes/_install-linux.rb
@@ -95,7 +95,6 @@ else
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 node['datadog']['agent_allow_downgrade']
end
end
end

MODIFY
recipes/repository.rb
recipes/repository.rb
@@ -108,7 +108,7 @@ when 'suse'
remote_file 'DATADOG_RPM_KEY.public' do
path old_key_local_path
source node['datadog']['yumrepo_gpgkey']
- # not_if 'rpm -q gpg-pubkey-4172a230' # (key already imported)
+ not_if 'rpm -q gpg-pubkey-4172a230' # (key already imported)
notifies :run, 'execute[rpm-import datadog key 4172a230]', :immediately
end

removes allow downgrade, uncomments line