From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: RFH: Add prosody service Date: Mon, 28 Nov 2016 20:54:21 +0100 Message-ID: <583C8B6D.3040002@crazy-compilers.com> References: <874m2uxiuu.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBS0X-0003zf-4G for guix-devel@gnu.org; Mon, 28 Nov 2016 14:54:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBS0Q-0000oy-6w for guix-devel@gnu.org; Mon, 28 Nov 2016 14:54:33 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:46638) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBS0P-0000oa-Uw for guix-devel@gnu.org; Mon, 28 Nov 2016 14:54:26 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tSHSb6KYmz3hjZM for ; Mon, 28 Nov 2016 20:54:23 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tSHSb6CtPzvlT7 for ; Mon, 28 Nov 2016 20:54:23 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 6Zpkl2J4OZ0r for ; Mon, 28 Nov 2016 20:54:22 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-142-47.dynamic.mnet-online.de [188.174.142.47]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 28 Nov 2016 20:54:22 +0100 (CET) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id E414D60366 for ; Mon, 28 Nov 2016 20:54:21 +0100 (CET) In-Reply-To: <874m2uxiuu.fsf@lassieur.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Am 26.11.2016 um 18:15 schrieb Cl=C3=A9ment 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 :-) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |