Install dd agent with yum on Amazon Linux 1
MODIFY
recipes/_install-linux.rb
recipes/_install-linux.rb
@@ -39,7 +39,7 @@ when 'debian'
options '--force-yes' if node['datadog']['agent_allow_downgrade']
end
when 'rhel', 'fedora', 'amazon'
- if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 8 ||
+ if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 8 && node['platform'] != 'amazon' ||
node['platform_family'] == 'fedora' && node['platform_version'].to_i >= 28
# yum_package doesn't work on RHEL 8 and Fedora >= 28
# dnf_package only works on RHEL 8 / Fedora >= 28 if Chef 15+ is used

Install dd agent with yum on Amazon Linux 1 (#731)