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

Deleting extra plugins doesn't delete them #8

Closed
Ismael opened this issue Sep 6, 2016 · 3 comments
Closed

Deleting extra plugins doesn't delete them #8

Ismael opened this issue Sep 6, 2016 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@Ismael
Copy link
Contributor

Ismael commented Sep 6, 2016

If I configure a telegraf_plugins_extra, run ansible, delete the plugin and run ansible again, the plugin stays on the machine.

The "easy" way out is to just nuke /etc/telegraf/telegraf.d/*, though that will force to restart telegraf
Do this before copying the extra plugins:

- name: "Delete extra plugins"
  shell: "rm -rf /etc/telegraf/telegraf.d/*"

@dj-wasabi dj-wasabi added the bug Something isn't working label Sep 7, 2016
@dj-wasabi dj-wasabi added this to the 0.7.0 milestone Feb 22, 2017
@dj-wasabi
Copy link
Owner

Hi @Ismael

In the last few days a PR was accepted and merge that fixes this issue. Would you please verify and if ok, close the issue? When this issue is verified, I'll create a new release.

@Ismael
Copy link
Contributor Author

Ismael commented Feb 23, 2017

Only issue I see is that when migrating from an older release, you keep the old files. So to use the new release, you have to be sure that you deleted the old conf files.
Otherwise looks good.

@Ismael Ismael closed this as completed Feb 23, 2017
@dj-wasabi
Copy link
Owner

Thank you for this comment. I'll make an upgrade notification in the README.md to address this. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants