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

Merge problem: "^telegraf::outputs(.*)$": merge: strategy: first #106

Closed
linuxmail opened this issue Aug 16, 2018 · 3 comments
Closed

Merge problem: "^telegraf::outputs(.*)$": merge: strategy: first #106

linuxmail opened this issue Aug 16, 2018 · 3 comments
Milestone

Comments

@linuxmail
Copy link

linuxmail commented Aug 16, 2018

Hello,

I defined a global output for all hosts, except the DMZ host. My problem is, that I get two output URL in my outputs, the first one is the global (not needed), the second is the one, I need. I use also the changes from: #99

I tried to use:

lookup_options:
  "^telegraf::outputs(.*)$":
    merge:
      strategy: first

but it does not work. I get always both URLs, instead of only this one, if defined in my host.yaml.

We use the same for the "apt" class, and this works as expected. What I have done wrong ?

Any suggestions ?

@linuxmail linuxmail changed the title Merge problem: "^telegraf::config(.*)$": merge: strategy: first Merge problem: "^telegraf::outputs(.*)$": merge: strategy: first Aug 16, 2018
@alexjfisher
Copy link
Member

Is this still an issue since #134 ?

@linuxmail
Copy link
Author

Hi @alexjfisher,

I need a few days to check and will update the issue :-) Thanks !

@linuxmail
Copy link
Author

Hi,
it works ! A big: Thank you !

@alexjfisher alexjfisher added this to the v3.0.0 milestone Aug 22, 2020
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

No branches or pull requests

2 participants