modules

contributions requested
Module for installing environment-modules and configure modulepath.

6,457 downloads

6,457 latest version

1.3 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'Sparco-modules', '0.5.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add Sparco-modules
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install Sparco-modules --version 0.5.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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