Skip to content
Snippets Groups Projects
  • Mathieu Othacehe's avatar
    bebcf976
    services: cuirass: Improve simple-cuirass-services. · bebcf976
    Mathieu Othacehe authored
    
    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: default avatarLudovic 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.
    bebcf976
    History
    services: cuirass: Improve simple-cuirass-services.
    Mathieu Othacehe authored
    
    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: default avatarLudovic 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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.