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

Remove for-loop in extra-plugin template #24

Merged
merged 2 commits into from Feb 21, 2017
Merged

Remove for-loop in extra-plugin template #24

merged 2 commits into from Feb 21, 2017

Conversation

emersondispatch
Copy link
Contributor

Because this is performed by the task itself. Was causing all extra plugin configurations to be written in each sub-configuration file in telegraf.d

…y the task itself. Was causing all extra plugin configurations to be written in each sub-configuration file
@dj-wasabi
Copy link
Owner

This seems to be the fix for #22 ?

@emersondispatch
Copy link
Contributor Author

I was careless and didn't check the issue list before submitting the PR. Yes, it was intended as a fix for that issue, but it didn't cover the case @haraldkoch brought up, of multiple instances of the same plugin. I've updated with a change that covers that case as well, by writing all conf into a single file, instead of each plugin into a separate one.

@haraldkoch
Copy link

That does solve the problem, and also deals with issue #8 ...

@dj-wasabi dj-wasabi merged commit 35b594c into dj-wasabi:master Feb 21, 2017
@dj-wasabi
Copy link
Owner

@emersondispatch Thanks!!!

aarnaud pushed a commit to aarnaud/ansible-telegraf that referenced this pull request Oct 24, 2017
Remove for-loop in extra-plugin template
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.

3 participants