mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
only load in the master options and don't create __salt__
This commit is contained in:
parent
60b3112379
commit
fcfcab4c2b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user