# HG changeset patch # User Matthew Wild # Date 1254735756 -3600 # Node ID 0aa55a5dafde6b46d13cc1c4aad0b165b936f843 # Parent cc7f212b2c48c7837d17ca808cf9b4bde42cba22 modulemanager: Add host.modules to contain a table of modules for a host diff -r cc7f212b2c48 -r 0aa55a5dafde core/modulemanager.lua --- a/core/modulemanager.lua Fri Oct 02 22:37:03 2009 +0100 +++ 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