Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Integrations] Add logic to install extra_packages agent checks #271

Merged
merged 2 commits into from
Aug 4, 2016

Conversation

tmichelet
Copy link
Contributor

  • Let the datadog:dd-agent recipe install any package found in the
    extra_packages attribute, and configure it
  • add some tests with the twemproxy integration

cc @miketheman

@tmichelet
Copy link
Contributor Author

@miketheman it appears that travis is failing on

FC034: Unused template variables: /home/travis/build/DataDog/chef-datadog/templates/default/integration.yaml.erb:1

I'm not sure why, as both instances and init_config are used.
Is that a known issue?

@tmichelet
Copy link
Contributor Author

also I'm not sure to see the difference with this other template

@tmichelet tmichelet force-pushed the tristan/integrations-recipe branch from 8b1d486 to 340c7d0 Compare February 3, 2016 18:01
@tmichelet
Copy link
Contributor Author

@miketheman travis fixed, thanks for your help! this is ready for review

@@ -0,0 +1,43 @@
#
# Cookbook Name:: datadog
# Recipe:: dd-agent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: should be integrations instead of dd-agent

@olivielpeau
Copy link
Member

Looks good to me apart from my small comments.

@tmichelet tmichelet force-pushed the tristan/integrations-recipe branch from 340c7d0 to 557232a Compare March 24, 2016 20:37
@olivielpeau olivielpeau force-pushed the tristan/integrations-recipe branch from 557232a to f3b788f Compare June 7, 2016 09:17
tmichelet and others added 2 commits June 7, 2016 11:39
- Let the datadog:dd-agent recipe install any package found in the
  `extra_packages` attribute, and configure it
- add some tests with the twemproxy integration
@olivielpeau olivielpeau force-pushed the tristan/integrations-recipe branch from f3b788f to 9bfa20f Compare June 7, 2016 09:47
@olivielpeau olivielpeau added this to the 2.5.0 milestone Jun 7, 2016
@olivielpeau
Copy link
Member

Rebased and added specs. This should be ready for a final review/merge.

@degemer
Copy link
Member

degemer commented Jun 7, 2016

LGTM

@olivielpeau olivielpeau merged commit 7f6ea48 into master Aug 4, 2016
@olivielpeau olivielpeau deleted the tristan/integrations-recipe branch August 4, 2016 17:17
end

if @agent_check_dir
describe file('/opt/datadog-agent/3rd-party/twemproxy/check.py') do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not called 3rd party anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants