def dot_vals(value):
    ret = {}
    for key, val in six.iteritems(__pillar__.get('master', {})):
        if key.startswith('{0}.'.format(value)):
            ret[key] = val
    for key, val in six.iteritems(__opts__):
        if key.startswith('{0}.'.format(value)):
            ret[key] = val
    return ret
Pass in a configuration value that should be preceded by the module name
dataset/ETHPy150Open saltstack/salt/salt/client/ssh/wrapper/config.py/dot_vals