Code Monkey home page Code Monkey logo

puppet_singularity's Introduction

puppet-module-singularity

Puppet Forge Build Status

Table of Contents

  1. Overview
  2. Usage - Configuration options
  3. Reference - Parameter and detailed reference to all options
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module
  6. TODO
  7. Additional Information

Overview

We've modified this module according the requirements of our organization. Changes are not intended to work in any other environments

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

Usage

singularity

Install and configure singularity:

class { 'singularity': }

Reference

Classes

Public classes

  • singularity: Installs and configures singularity.

Private classes

  • singularity::install: Installs singularity packages.
  • singularity::config: Configures singularity.
  • singularity::params: Sets parameter defaults based on fact values.

Parameters

singularity

Below are parameter defaults in Hiera format:

singularity::package_ensure: present
singularity::package_name: singularity
singularity::manage_epel: true
singularity::config_path: /etc/singularity/singularity.conf
singularity::config_template: singularity/singularity.conf.erb
singularity::allow_setuid: 'yes'
singularity::max_loop_devices: 256
singularity::allow_pid_ns: 'yes'
singularity::config_passwd: 'yes'
singularity::config_group: 'yes'
singularity::config_resolv_conf: 'yes'
singularity::mount_proc: 'yes'
singularity::mount_sys: 'yes'
singularity::mount_dev: 'yes'
singularity::mount_devpts: 'yes'
singularity::mount_home: 'yes'
singularity::mount_tmp: 'yes'
singularity::mount_hostfs: 'no'
singularity::bind_paths:
  - /etc/localtime
  - /etc/hosts
singularity::user_bind_control: 'yes'
singularity::enable_overlay: 'try'
singularity::mount_slave: 'yes'
singularity::sessiondir_max_size: 16
#singularity::limit_container_owners: undef
#singularity::limit_container_groups: undef
#singularity::limit_container_paths: undef
singularity::allow_containers:
  squashfs: 'yes'
  extfs: 'yes'
  dir: 'yes'
#singularity::autofs_bug_paths: undef
package_ensure

Package ensure parameter, defaults to present

package_name

Package name, defaults to singularity

manage_epel

Determines whether to include EPEL class before installing singularity. Defaults to true

Limitations

This module has been tested on:

  • CentOS 6 x86_64
  • CentOS 7 x86_64

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake beaker

TODO

Further Information

puppet_singularity's People

Contributors

andelpe avatar jaimegdpr avatar kreczko avatar treydock avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.