summaryrefslogtreecommitdiffstats
path: root/func
Commit message (Collapse)AuthorAgeFilesLines
* Applying a variant on Brenton's patch for DNS issues.Michael DeHaan2008-01-292-2/+15
|
* Two kinds of utils!Michael DeHaan2008-01-291-5/+6
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-293-25/+35
|\
| * clean up expand servers a little bitAdrian Likins2008-01-291-11/+21
| |
| * Load classes out of __init__ filesJohn Eckersberg2008-01-281-6/+4
| | | | | | | | Conflicts:
| * A bit of clean up along with a note on flatten.Steve 'Ashcrow' Milner2008-01-261-8/+10
| |
* | All exceptions, async or otherwise, now come back as easily detectable ↵Michael DeHaan2008-01-296-90/+60
|/ | | | | | | signatures. Use utils.is_error(result) to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated. See async_test.py for examples.
* Fixed async_test.py for all success/failure cases. Still need to tweak the ↵Michael DeHaan2008-01-241-10/+27
| | | | | | | code so that failure information for remote commands can be obtained (i.e. detals of the exceptions) without reading the remote logs. Async is weird because the information can't come back in faults (well, it can, but we don't want it to).
* Remove sleep from test.addMichael DeHaan2008-01-241-1/+0
|
* Still working on async (pardon the debug output still), there's a long ways ↵Michael DeHaan2008-01-242-17/+13
| | | | | | | to go with the partial status reporting but it is getting better at actually doing the task, just a few kinks to work out in getting results reported correctly.
* Fixup to client noglobs invocation.Michael DeHaan2008-01-241-3/+2
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-232-2/+119
|\
| * Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcAdrian Likins2008-01-235-12/+147
| |\ | | | | | | | | | | | | | | | Conflicts: func/overlord/client.py
| * | first pass at allowing "groups" to be specified.Adrian Likins2008-01-232-2/+119
| | | | | | | | | | | | | | | Currently a ini style file in /etc/func/groups and they can be specified on the commandline as "@group"
* | | Working on async error handling, lots more to do...Michael DeHaan2008-01-235-3/+62
| |/ |/| | | | | (If it hits no exceptions, returns are right, it's the partial error case to deal with next...)
* | Double-barrel asynchronous calls. Async can now occur on both sides ↵Michael DeHaan2008-01-235-11/+143
| | | | | | | | | | | | | | | | simultaneously and still appears as if there is only one "global" job id to the API caller, the minion job id's are managed in the background, complete with partial result response as things come in which should be very nice for ajaxy implication. job_status API does still need to be modified to list active jobs as well as to store the job name.
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-232-2/+33
|\| | | | | | | | | | | Conflicts: test/unittest/test_client.py
| * SysctlModule. This allows you to tweak your minions kernel parameters at ↵Luke Macken2008-01-211-0/+31
| | | | | | | | runtime.
| * remove a seemingly unneeded import that was causing this moduleAdrian Likins2008-01-181-2/+2
| | | | | | | | | | | | to fail on fc7 also, allow no repos to be specified in check_update()
* | Moving the async and multiprocess stuff to top level so we can use themMichael DeHaan2008-01-233-2/+5
|/ | | | on the minion for minion side async funness.
* Add a process.memory alias to memLuke Macken2008-01-181-0/+2
|
* make networktest.isportopen slightly more robustAdrian Likins2008-01-171-3/+13
| | | | now returns a tuple of [return_code, message, data (aka, socket error, etc)]
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-1723-267/+142
|\
| * Add logging of the CSR submit progress.Adrian Likins2008-01-161-2/+9
| | | | | | | | patch from Jan Pazdziora <adelton@fedoraproject.org>
| * Append newline to serial.txt.Adrian Likins2008-01-161-1/+1
| | | | | | | | | | The second just adds newline to the end of the serial.txt -- it makes the output of cat /etc/pki/func/ca/serial.txt a bit more readable.
| * oops, need that import afterallAdrian Likins2008-01-161-0/+1
| |
| * pychecker/pyflakesAdrian Likins2008-01-161-2/+0
| | | | | | | | remove unused imports
| * remove unused importAdrian Likins2008-01-161-1/+14
| | | | | | | | add license blob and #! line
| * pychecker/pyflakesAdrian Likins2008-01-161-3/+0
| | | | | | | | remove unused imports
| * pychecker/pyflakesAdrian Likins2008-01-161-1/+0
| | | | | | | | unused import
| * pyflakes/pychecker cleanupsAdrian Likins2008-01-161-2/+0
| | | | | | | | removed unused variables
| * pyflakes/pychecker cleanupsAdrian Likins2008-01-161-3/+3
| |
| * apply patch from Jan Pazdziora to fix rather stupid permissions problemSeth Vidal2008-01-162-9/+9
| |
| * added in the desc/version/api items in the modules.Steve 'Ashcrow' Milner2008-01-1615-2/+58
| |
| * Updated networktest to be the new way of defining modules and updated ↵Steve 'Ashcrow' Milner2008-01-161-15/+1
| | | | | | | | func-create-module to add in docstrings.
| * Fix our FuncModule list_methodsLuke Macken2008-01-151-3/+13
| |
| * Combine our is{class,subclass} checks into a single conditionalLuke Macken2008-01-151-4/+3
| |
| * Merge branch 'master' of ssh+git://git.fedorahosted.org/git/funcLuke Macken2008-01-152-9/+25
| |\
| * | Don't expose FuncModule.register_rpcLuke Macken2008-01-151-1/+2
| | |
| * | Merge branch 'master' of ssh+git://git.fedorahosted.org/git/funcLuke Macken2008-01-157-22/+88
| |\ \
| * | | Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-1517-234/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Auto-detect and load all FuncModules. This obsoletes the need to have our modules define a register_rpc method. - Use introspection in our FuncModule to auto-register all method handlers that do not being with an underscore. This obsoletes the need to hardcode methods in our modules. - Remove all __init__ methods from our modules, along with register_rpc - Modify the func-create-module script to reflect these changes. Note that doing 'from modules import func_module' is no longer supported in our modules, do to some interesting path issues with our auto-detection code. Supported methods are now: 'import func_module' or 'from func.minion.modules import func_module'
* | | | Fix docstring.Michael DeHaan2008-01-171-1/+1
| |_|/ |/| |
* | | Make the --forks option also use storage that is not homedir based.Michael DeHaan2008-01-151-3/+3
| | |
* | | Make job engine delete jobs older than 1 hour, and store jobs not in ↵Michael DeHaan2008-01-151-6/+22
| |/ |/| | | | | | | | | homedirs, so it doesn't have to be called by a user that has a homedir.
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-1513-25/+91
|\ \
| * | somehow networktest fell off the side of git ... added back.Steve 'Ashcrow' Milner2008-01-141-0/+64
| | |
| * | Fixed the FIXME note about stdout/stderr in process.info. Also raise ↵Steve 'Ashcrow' Milner2008-01-141-9/+17
| | | | | | | | | | | | exception when bad args are passed using the first line as the exception message.
| * | removed more shebangs from files that are not executable as part of the ↵Steve 'Ashcrow' Milner2008-01-144-7/+0
| |/ | | | | | | application. rpmlint should output less warnings/errors.
| * Our client.command.Command class looks for 'usage', not 'useage'Luke Macken2008-01-146-7/+7
| |
| * Slay a couple of tab charactersLuke Macken2008-01-141-1/+1
| |