Allow thorium to cross call

This commit is contained in:
Thomas S Hatch 2016-02-02 10:40:03 -07:00
parent a0f2cdf317
commit c0d54c3fb8

View file

@ -434,10 +434,12 @@ def thorium(opts, functions, runners):
'''
Load the thorium runtime modules
'''
return LazyLoader(_module_dirs(opts, 'thorium', 'thorium'),
ret = LazyLoader(_module_dirs(opts, 'thorium', 'thorium'),
opts,
tag='thorium',
pack={'__salt__': functions, '__runner__': runners})
ret.pack['__thorium__'] = ret
return ret
def states(opts, functions, utils, serializers, whitelist=None):