source 'https://supermarket.chef.io'

cookbook 'datadog', '~> 4.4.0'

# We pin an old version of the apt cookbook because this cookbook triggers an "apt update" by default
# and in newer versions this update is not allowed to fail, while in 3.X it is. For some reason
# apt update fails a lot in our debian instances.
# This can be removed if the datadog cookbook no longer depends on apt, since it's only used there
# (ie: when the datadog cookbook requires chef >= 13.3, which already bundles everything we use from apt).
cookbook 'apt', '< 4.0'

# Version 7.3.0 of the cookbook depends on chef version >= 15.0 but right now we are running 14.12.9
cookbook 'docker', '< 7.3.0'
cookbook 'selinux'

cookbook 'dd-agent-install', path: './site-cookbooks/dd-agent-install'
cookbook 'dd-agent-upgrade', path: './site-cookbooks/dd-agent-upgrade'
cookbook 'dd-agent-install-script', path: './site-cookbooks/dd-agent-install-script'
cookbook 'dd-agent-step-by-step', path: './site-cookbooks/dd-agent-step-by-step'
cookbook 'dd-agent-import-conf', path: './site-cookbooks/dd-agent-import-conf'
cookbook 'dd-agent-5', path: './site-cookbooks/dd-agent-5'
cookbook 'dd-agent-sles-workaround', path: './site-cookbooks/dd-agent-sles-workaround'
cookbook 'dd-agent-rhel-workaround', path: './site-cookbooks/dd-agent-rhel-workaround'
cookbook 'dd-agent-system-files-check', path: './site-cookbooks/dd-agent-system-files-check'
cookbook 'dd-security-agent-check', path: './site-cookbooks/dd-security-agent-check'
cookbook 'dd-system-probe-check', path: './site-cookbooks/dd-system-probe-check'
