Skip to content

Commit

Permalink
Install dd agent with yum on Amazon Linux 1 (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
tymartin-novu authored Aug 4, 2020
1 parent fc30e58 commit e1aeef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/_install-linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
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
Expand Down

0 comments on commit e1aeef7

Please sign in to comment.