Yes for any Lua based modules they all have to reside under the same directory per plugin or sandbox manager (and only contain alphanumeric or hyphen characters). When debugging I either put the module I am developing in the lua_module directory or symlink the modules I need from that directory into my development directory.
Trink ----- Original Message ----- > From: "David Birdsong" <david.birds...@gmail.com> > To: "heka" <heka@mozilla.org> > Sent: Thursday, October 30, 2014 6:17:53 PM > Subject: [heka] sandbox module_directory and deploying lua libs > I keep running into the problem of wanting to modularize some of my sandbox > code so that I can test it more easily separate from the sandbox script file > itself. As I understand the current sandbox settings, if I set the > module_directory to the location my custom modules, than if those modules > require any of the standard modules, they'll fail. Is this correct? > If so, can we make it possible to allow a comma separate list of dirs to add > to the LUA_PATH and some method to preserve the compiled in module_directory > path? > _______________________________________________ > Heka mailing list > Heka@mozilla.org > https://mail.mozilla.org/listinfo/heka
_______________________________________________ Heka mailing list Heka@mozilla.org https://mail.mozilla.org/listinfo/heka