salt.runners.config

This runner is designed to mirror the execution module config.py, but for master settings

salt.runners.config.get(key, default='', delimiter=':')

Retrieve master config options, with optional nesting via the delimiter argument.

Arguments

default

If the key is not found, the default will be returned instead

delimiter

Override the delimiter used to separate nested levels of a data structure.

CLI Example:

salt-run config.get gitfs_remotes
salt-run config.get file_roots:base
salt-run config.get file_roots,base delimiter=','