summaryrefslogtreecommitdiffstats
path: root/overlord/client.py
Commit message (Collapse)AuthorAgeFilesLines
* cert's are stored as .cert not as .pem so we weren't finding any minionsSeth Vidal2007-09-261-1/+1
|
* Remove assorted unused importsJames Bowes2007-09-261-3/+0
|
* The addition of an example program to find which systems have parts subject ↵Michael DeHaan2007-09-261-8/+7
| | | | to recall.
* Merge with alikins.Michael DeHaan2007-09-261-5/+3
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2007-09-261-1/+5
|\
| * use the FuncServer class from sslclient instead of theAdrian Likins2007-09-261-1/+5
| | | | | | | | | | | | non-ssl xmlrpclib.ServerProxy aka, enabled ssl support
* | Adding a noglobs=True/False parameter to the client. When set to True, the ↵Michael DeHaan2007-09-261-9/+27
|/ | | | | | | | 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-9/+60
| | | | 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.
* Adds globbing support for hosts on the command line. If you have not yet usedMichael DeHaan2007-09-251-7/+24
| | | | | certmaster/funcd to generate certs, you will now need them in order to use the client for testing.
* Adding client module, which contains code for both the CLI and thoseMichael DeHaan2007-09-251-0/+223
that want to script against func. Placeholders are there for globbing of multiple certs, and places are also marked where we need to add SSL.