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

import with glob #10

Open
singpolyma opened this issue Dec 21, 2012 · 2 comments
Open

import with glob #10

singpolyma opened this issue Dec 21, 2012 · 2 comments

Comments

@singpolyma
Copy link

Would be useful to be able to import a glob pattern, especcially for the very common:

import conf.d/*
@taladar
Copy link

taladar commented Dec 22, 2012

I agree that support for this idiom would be very useful, particularly when configuration is installed from several sources (e.g. something like logrotate.d or nagios rnpe.d) or for several logical services (virtual hosts,...) served by a single daemon or cronjob.

I would add that support for something like conf.d/*.cfg would be useful (a glob not just at the end) so files can just be renamed to something like *.cfg.disabled and stay where they are.

@bos
Copy link
Owner

bos commented Dec 31, 2012

This sort of support should be quite easy to add. I'll happily review and take such a patch.

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

3 participants