Explicitly set gpgcheck to true for yum_repository
The yum_repository resource did not have gpgcheck `true` as the default until Chef 12.15
MODIFY
recipes/repository.rb
recipes/repository.rb
@@ -76,6 +76,7 @@ when 'rhel', 'fedora', 'amazon'
proxy_username node['datadog']['yumrepo_proxy_username']
proxy_password node['datadog']['yumrepo_proxy_password']
gpgkey node['datadog']['yumrepo_gpgkey']
+ gpgcheck true
action :create
end
end

Explicitly set gpgcheck to true for yum_repository (#458)

The yum_repository resource did not have gpgcheck `true` as the default until Chef 12.15