configurator icon indicating copy to clipboard operation
configurator copied to clipboard

import with glob

Open singpolyma opened this issue 13 years ago • 2 comments

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

import conf.d/*

singpolyma avatar Dec 21 '12 20:12 singpolyma

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.

taladar avatar Dec 22 '12 18:12 taladar

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

bos avatar Dec 31 '12 21:12 bos