The ability to define an additional site-specific configuration file has just been added. The MODULES_SITECONFIG environment variable has been introduced for this purpose.

When set, the script file pointed by the variable is sourced (if readable) after the site-specific configuration file initially defined in modulecmd.tcl.

As a reminder, such a Tcl script enables to supersede any global variable or procedure definition of modulecmd.tcl.

Many thanks to Ben Bowers for this contribution. It is available in git repository and will be included into the next feature release v4.3.

Read discussion thread on mailing-list