Adds a patch so that ubuntu 14.04 on Chef 11 will use upstart
MODIFY
recipes/dd-agent.rb
recipes/dd-agent.rb
@@ -105,6 +105,7 @@ end
service_provider = nil
if node['datadog']['agent6'] &&
(((node['platform'] == 'amazon' || node['platform_family'] == 'amazon') && node['platform_version'].to_i != 2) ||
+ (node['platform'] == 'ubuntu' && node['platform_version'].to_f == 14.04) ||
(node['platform'] != 'amazon' && node['platform_family'] == 'rhel' && node['platform_version'].to_i < 7))
# use Upstart provider explicitly for Agent 6 on Amazon Linux < 2.0 and RHEL < 7
service_provider = Chef::Provider::Service::Upstart

Adds a patch so that ubuntu 14.04 on Chef 11 will use upstart