Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2021 16:05:17 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: poudriere options
Message-ID:  <Ya4mrSv1XkifwRSC@io.chezmoi.fr>
In-Reply-To: <9c25f179-c051-20ef-5e6c-fda9673e9a2f@langille.org>
References:  <Ya4N46eihoPZIvEy@io.chezmoi.fr> <9c25f179-c051-20ef-5e6c-fda9673e9a2f@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Ya4mrSv1XkifwRSC>