Lookup plugins in included files now look in paths relative to their files, allowing role usage.

This commit is contained in:
Michael DeHaan
2013-06-01 18:15:38 -04:00
parent 7f0e89a2f6
commit b8a66ce5bb
2 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ class LookupModule(object):
self.basedir = basedir
def run(self, terms, inject=None, **kwargs):
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
ret = []