def opts_pkg():
    ret = {}
    ret.update(__opts__)
    ret['grains'] = __grains__
    return ret
Return an opts package with the grains and opts for this minion.
dataset/ETHPy150Open saltstack/salt/salt/modules/test.py/opts_pkg