summaryrefslogtreecommitdiffstats
path: root/overlord/test_func.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove assorted unused importsJames Bowes2007-09-261-1/+0
|
* Refine the bad hardware checker -- this time it detects my potentially ↵Michael DeHaan2007-09-261-1/+2
| | | | | | exploding (but now ruled safe) battery correctly.
* The addition of an example program to find which systems have parts subject ↵Michael DeHaan2007-09-261-3/+4
| | | | to recall.
* Generalize test code.Michael DeHaan2007-09-261-3/+4
|
* Adding a noglobs=True/False parameter to the client. When set to True, the ↵Michael DeHaan2007-09-261-1/+3
| | | | | | | | return codes assume the server specification is NOT a glob and return a single value instead of a hash. This minimizes code when needing to address only one system at a time. The command line will always assume globs are possible and will not use this shortcut.
* Two things. First Client("*").hardware.info() and the like now works, due ↵Michael DeHaan2007-09-261-0/+7
| | | | 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.
* Renamed server to minion and client to overlordRobin Norwood2007-09-251-0/+51