modules

Module for installing environment-modules and configure modulepath.

Simon Skog

Sparco

5,474 downloads

5,474 latest version

1.3 quality score

Version information

  • 0.5.0 (latest)
released Oct 29th 2015
This version is compatible with:
  • Puppet Enterprise 3.7
  • Puppet 3.4
  • Ubuntu

Start using this module

Documentation

Sparco/modules — version 0.5.0 Oct 29th 2015

sparco-modules

Table of Contents

  1. Description
  2. Setup
  3. Usage
  4. Limitations
  5. Contact

Description


This Puppet module is managing the installation and configuration of environment-modules. The modules use Hiera to set variables and serve configuration files. It's tested on Ubuntu 14.04.

Setup

The module is doing:

  • Installing environment-modules from repo.
  • Add lines in /etc/environment-modules/modulepath

Requirements

Usage

include modules

Map Files

To configure using Map Files:

modules::paths { 'tools':
  path       => '/opt/tools',
  order       => 01
}

###Hiera Using Hiera:

---
modules::paths:
  tools:
    path: '/opt/local/mod'
    order: 01

Both examples will add following line inside /etc/environment-modules/modulepath

/opt/local

##Limitations At the moment it can only write one line into modulepath.

Development

This module is a rewriten version of autofs.

Contact

Simon Skog: sparco@hackernet.se