only load in the master options and don't create __salt__

This commit is contained in:
Thomas S Hatch 2012-10-01 00:22:00 -06:00
parent 60b3112379
commit fcfcab4c2b

View File

@ -94,14 +94,12 @@ def pillars(opts, functions):
return load.filter_func('ext_pillar', pack)
def tops(opts, functions):
def tops(opts):
'''
Returns the returner modules
'''
load = _create_loader(opts, 'tops', 'top')
pack = {'name': '__salt__',
'value': functions}
return load.filter_func('top', pack)
return load.filter_func('top')
def states(opts, functions):