Skip to content

Require datadog_agent instead of including it#725

Merged
albertvaka merged 5 commits intomainfrom
albertvaka/require-not-include
Jan 26, 2022
Merged

Require datadog_agent instead of including it#725
albertvaka merged 5 commits intomainfrom
albertvaka/require-not-include

Conversation

@albertvaka
Copy link
Copy Markdown
Contributor

@albertvaka albertvaka commented Jan 26, 2022

What does this PR do?

  • Make integration classes require datadog_agent instead of include datadog_agent.
  • Fixed kitchen tests that bitrot and expands them a bit to cover the use of integration classes.

Motivation

This ensures the right execution order of the classes.

Additional Notes

Supersedes #193

This is technically a breaking change, but I can't imagine a scenario where the old behaviour is useful.

Describe your test plan

Tests pass.

@albertvaka albertvaka requested a review from a team as a code owner January 26, 2022 13:51
Copy link
Copy Markdown
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

LGTM. I am not sure about how big of a deal the breaking change is, but I trust your judgement 😄

@albertvaka albertvaka merged commit 0070680 into main Jan 26, 2022
@albertvaka albertvaka deleted the albertvaka/require-not-include branch January 26, 2022 18:19
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Feb 5, 2026
Also fixes and expands the kitchen tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants