guix/gnu
Mathieu Othacehe bebcf97600
services: cuirass: Improve simple-cuirass-services.
Instead of returning multiple services in simple-cuirass-services, rely on the
instantiate-missing-services procedure to instantiate postgresql and
postgresql-role-service-type when missing.

Turn simple-cuirass-services procedure into
simple-cuirass-configuration->specs, that takes a simple-cuirass-configuration
record and returns a Cuirass specification.

Suggested-by: Ludovic Courtès <ludo@gnu.org>

* gnu/services/cuirass.scm (%default-cuirass-config): Remove it.
(simple-cuirass-services): Rename it to ...
(simple-cuirass-configuration->specs): ... this procedure.
* gnu/tests/cuirass.scm (cuirass-services): Remove postgresql and
postgresql-role services that are automatically instantiated.
(simple-cuirass-service): New variable.
(%cuirass-simple-test): Adapt it to use simple-cuirass-configuration->specs
instead of simple-cuirass-services.
* doc/guix.texi (Simple Cuirass): Update it.
2021-02-23 09:45:09 +01:00
..
bootloader
build
installer
machine
packages gnu: sbcl-common-lisp-jupyter: Update to 20210217. 2021-02-23 09:25:40 +01:00
services services: cuirass: Improve simple-cuirass-services. 2021-02-23 09:45:09 +01:00
system system: hurd: Have the static networking provision 'networking. 2021-02-22 20:44:58 +00:00
tests services: cuirass: Improve simple-cuirass-services. 2021-02-23 09:45:09 +01:00
artwork.scm
bootloader.scm
ci.scm
image.scm
installer.scm
local.mk image: Add rock64 support. 2021-02-21 21:39:38 +01:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm tests: Export %simple-os. 2021-02-19 20:10:08 +01:00