def explode_opts(opts):
    preloads = [('.salt.opts', dict(value=opts))]
    for key, val in six.iteritems(opts):
        ukey = key.replace('.', '_')
        preloads.append(('.salt.etc.{0}'.format(ukey), dict(value=val)))
    preloads.append(('.salt.etc.id', dict(value=opts['id'])))
    return preloads
Explode the opts into a preloads list
dataset/ETHPy150Open saltstack/salt/salt/daemons/flo/__init__.py/explode_opts