puppet-module-singularity

Table of Contents

  1. Overview

  2. Usage - Configuration options

  3. Reference - Parameter and detailed reference to all options

Overview

This module manages the singularity installation and configuration of singularity.conf.

RedHat based systems will by default install from EPEL package

Debian based systems will by default install from source

Usage

singularity

Install and configure singularity.

include singularity

The following Hiera example of building from source (default for Debian based systems) with several additional options passed.

singularity::install_method: source
singularity::build_flags:
  without-suid: true
  mandir: /some/other/path
singularity::build_env:
  GOPATH=/some/other/path
singularity::prefix: /opt/singularity
singularity::sysconfdir: /opt/singularity/etc
singularity::localstatedir: /opt/singularity/var

Compile and install a Singularity plugin from the Singularity source:

singularity::plugins:
  github.com/sylabs/singularity/log-plugin:
    source_dir: examples/plugins/log-plugin

Reference

treydock.github.io/puppet-module-singularity/