Am 26.11.2016 um 18:15 schrieb Clément Lassieur: > So in Scheme, I implemented this as a prosody-configuration > (representing the whole file), containing: > - global settings, > - common settings, > - a list of virtualhost-configuration.
I'm interested in how to implement this, too. Some examples we could use this: - default security-settings for nginx servers (ak vhosts) - config for all "pools" in php-fpm debops (http://debops.org), a collection of recipes for Ansible which I worked with last year for quite some time, add another features: If the software does not support such config layers, debops implements them by adding the "global" and "common" settings to the "vhost" config-file. I really likes this feature :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |