[yum][repository] Avoid including the default yum recipe
The default yum recipe overwrites the main `/etc/yum.conf` config file,
which can be undesirable if the user wants to keep the default one or
wants to customize it outside of the `yum` cookbook.
Let's just assume that the existing config works for our cookbook.
MODIFY
recipes/repository.rb
recipes/repository.rb
@@ -43,8 +43,6 @@ when 'debian'
end
when 'rhel', 'fedora'
- include_recipe 'yum'
-
# Import new RPM key
if node['datadog']['yumrepo_gpgkey_new']
# gnupg is required to check the downloaded key's fingerprint

[yum][repository] Avoid including the default yum recipe (#446)

The default yum recipe overwrites the main `/etc/yum.conf` config file,
which can be undesirable if the user wants to keep the default one or
wants to customize it outside of the `yum` cookbook.

Let's just assume that the existing config works for our cookbook.