mtt
mtt copied to clipboard
Global MTT Config
This idea is to have optional system/local config files for MTT. These config files are to set default options that can be overrided by either pyclient command-line arguments or by MTTDefaults in the INI file.
The file structure could look something like this:
File in /etc/mtt/mtt.cfg or ~/.mtt/mtt.cfg
verbose=True
skip-sections=*Database
plugin-dir=/path/to/proprietary/plugins
Also another idea to go along with this is a list of environment variables for MTT to load by default before starting (but only load the env vars that don't already exist), like:
File in /etc/mtt/mtt.env
MTT_ARGS="--verbose --some-other-arg"
HEADNODE_NAME=coolest_system_ever
MTT_DATABASE_IP=192.168.0.1