modulemanager: Add host.modules to contain a table of modules for a host

Mon, 05 Oct 2009 10:42:36 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 05 Oct 2009 10:42:36 +0100
changeset 1917
ac5fca9ef6fe
parent 1899
ccb7d9ccbf24
child 1918
dd35d07d673f

modulemanager: Add host.modules to contain a table of modules for a host

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Sun Oct 04 21:46:35 2009 +0500
+++ b/core/modulemanager.lua	Mon Oct 05 10:42:36 2009 +0100
@@ -106,6 +106,7 @@
 	
 	if not modulemap[host] then
 		modulemap[host] = {};
+		hosts[host].modules = modulemap[host];
 	end
 	
 	if modulemap[host][module_name] then

mercurial