From nobody Mon Dec 6 15:05:17 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ACF4918B9B7E for ; Mon, 6 Dec 2021 15:05:21 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mx-p1.obspm.fr (mx-p1.obspm.fr [145.238.193.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.obspm.fr", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J76Dd3QTnz4S9t for ; Mon, 6 Dec 2021 15:05:21 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from io.chezmoi.fr (io-p2.obspm.fr [145.238.197.205]) (authenticated bits=0) by mx-p1.obspm.fr (8.15.2/8.15.2/DIO Observatoire de Paris - 15/04/10) with ESMTPSA id 1B6F5Itc012778 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 6 Dec 2021 16:05:20 +0100 Date: Mon, 6 Dec 2021 16:05:17 +0100 From: Albert Shih To: Dan Langille Cc: freebsd-questions@freebsd.org Subject: Re: poudriere options Message-ID: References: <9c25f179-c051-20ef-5e6c-fda9673e9a2f@langille.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9c25f179-c051-20ef-5e6c-fda9673e9a2f@langille.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (mx-p1.obspm.fr [145.238.193.20]); Mon, 06 Dec 2021 16:05:20 +0100 (CET) X-Virus-Scanned: clamav-milter 0.103.3 at mx-p1 X-Virus-Status: Clean X-Rspamd-Queue-Id: 4J76Dd3QTnz4S9t X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Le 06/12/2021 à 09:50:36-0500, Dan Langille a écrit Hi, > > > > I run poudriere with some jail, with differents options. > > > > I would like to know the best way to save that options, currently I use > > pourdriere options to set those options but that's are not very convenient > > to backup in puppet/ansible-kind tools. > > > > Is they are any way to set poudriere jail options in other way ? > > Can you give us an example of the options you want to save please? > Two examples, 1/ I run icinga2 for monitoring my services and use net-mgmt/monitoring-plugins for that. I need to «custom» that ports options because by default I'm missing LDAP, MYSQL, PGSQL Well this one are easy because I just need to add those tree options. 2/ I run also www/rt5, with that I need the option www/rt5 -> I need few options but most important I use AP_MODPERL instead of the default. thats mean I also need (at least) OPTIONS_FILE_SET+=MODPERL for www/p5-HTML-Mason So it's not a big deal to do that for one jail, but with time I'm going to forget I need those options. Currently what I do is when I create a new jail (for a new version of FreeBSD), I redo the pourdiere options, and check if it's ok with diff -r old-jail-options-dir new-jail-options-dir something not only boring but prone to error. Regards -- Albert SHIH Observatoire de Paris France Heure local/Local time: lun. 06 déc. 2021 15:56:40 CET