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
- Installing environment-modules from repo.
- Add lines in /etc/environment-modules/modulepath
include modules
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.
This module is a rewriten version of autofs.
Simon Skog: [email protected]