From 9806fbbebb7d9e28cc58ab5388ad646ffbf7ebb6 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 17 Dec 2007 12:18:45 -0500 Subject: Added inventory module for mount, though something has broken func-inventory's ability to query remote modules and I am still chasing what that is. --- func/overlord/inventory.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'func/overlord/inventory.py') diff --git a/func/overlord/inventory.py b/func/overlord/inventory.py index 8bb5942..28a269e 100755 --- a/func/overlord/inventory.py +++ b/func/overlord/inventory.py @@ -98,7 +98,12 @@ class FuncInventory(object): if options.verbose: print "---- scanning module: %s" % module_name host_module = getattr(func_client.Client(host,noglobs=True),module_name) + if options.verbose: + print "--- DEBUG: remote module: %s" % host_module + remote_methods = host_module.list_methods() + if options.verbose: + print "--- DEBUG: available remote methods: %s" % remote_methods for remote_method in remote_methods: if ("all" in filtered_function_list) or (remote_method in filtered_function_list): if options.verbose: -- cgit