Skip to content
New issue

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

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

Already on GitHub? # to your account

[question/feature request] does configuration includes allow wildcards? #74

Open
blysik opened this issue Aug 13, 2015 · 1 comment
Open

Comments

@blysik
Copy link

blysik commented Aug 13, 2015

Many applications nowadays allow including all config files in a directory. I think this would be a good way for me to organize alert configs. Can I do something like this?

        "include": [ "./alerts/*.json" ]

Thanks!

@greg-peterson
Copy link

+1
include_dir: ./conf.d

We use ansible with machines grouped into 'clusters', each cluster will have different metrics and thresholds, and it would be more convenient if the playbook for each cluster just had to drop a file into conf.d without touching the main configuration for any other cluster configuration.

I have a viable working solution in place using existing include methods, but it can require touching the main configuration file when I add/remove clusters so that their file gets included as well.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants