summaryrefslogtreecommitdiffstats
path: root/modules/func_module.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-26 13:32:01 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-26 13:32:01 -0400
commitbfc293cf605ecca02f8d45e27c33909c7778e649 (patch)
treea8d11afffda391ff72d69ff9408d0c4cf28a022d /modules/func_module.py
parente3493766701ac84e6d76257659be27c209ecb12e (diff)
downloadthird_party-func-bfc293cf605ecca02f8d45e27c33909c7778e649.tar.gz
third_party-func-bfc293cf605ecca02f8d45e27c33909c7778e649.tar.xz
third_party-func-bfc293cf605ecca02f8d45e27c33909c7778e649.zip
Two things. First Client("*").hardware.info() and the like now works, due to some clever magic with getattr. You have one client object that can address multiples and returns a hash with the results for each machine. Second, results are hashes, not lists, and we are a bit more clever in returning a return code the CLI .. the highest int wins if there's an int, for instance. Still, return codes are relatively meaningless for multi-control ... the true power is in scripting things.
Diffstat (limited to 'modules/func_module.py')
0 files changed, 0 insertions, 0 deletions