Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved code under the func namespace. | Devan Goodwin | 2007-10-02 | 13 | -938/+0 |
| | | | | | | Previously we had overlord, minion, modules, and func all at the root of the source tree. After install these would all be shuffled below func. Relocated them in the source tree to reflect this. | ||||
* | changed more class defs to use (object) instead of () so it works on | Jesus M. Rodriguez | 2007-10-01 | 1 | -1/+1 |
| | | | | python 2.3 and 2.4. | ||||
* | Fix bad indentation in minion, modules and overlord | James Bowes | 2007-09-29 | 3 | -8/+8 |
| | |||||
* | Remove unused imports | James Bowes | 2007-09-28 | 1 | -1/+0 |
| | |||||
* | Make the command module use subprocess to capture stdin/stdout and return ↵ | Michael DeHaan | 2007-09-28 | 1 | -1/+9 |
| | | | | them to the caller. | ||||
* | config crap in one file so we don't have recursive/impossible imports, I hope | Seth Vidal | 2007-09-27 | 1 | -1/+1 |
| | |||||
* | really nice if I'd stop dropping 'i' out of config_file | Seth Vidal | 2007-09-27 | 1 | -4/+5 |
| | |||||
* | add a system.list_modules method that returns a list of all the modules | Adrian Likins | 2007-09-27 | 1 | -2/+3 |
| | | | | | | | | add a MODULE.list_methods that returns a list of all the methods for a module note that these kind of crisscross system.listMethods, but tis okay | ||||
* | move logger and config_data to func/func | Adrian Likins | 2007-09-27 | 1 | -2/+8 |
| | | | | | | | | | | | update modules that need new location modules/func_module.py: update to use new logger/config locations, also go ahead and register as a real module, to shut up the start up. It shouldn't hurt anything Some minor import reordering at a couple places (I try to keep at least system import alphabetical) | ||||
* | Remove assorted unused imports | James Bowes | 2007-09-26 | 2 | -2/+0 |
| | |||||
* | Add simple command module for executing arbitrary commands | James Bowes | 2007-09-26 | 1 | -0/+33 |
| | |||||
* | Fix import paths. | Michael DeHaan | 2007-09-26 | 1 | -2/+2 |
| | |||||
* | Import from minion, not server | James Bowes | 2007-09-26 | 1 | -2/+2 |
| | |||||
* | Updated the hardware module so that it's usable if smolt isn't installed. ↵ | Michael DeHaan | 2007-09-26 | 1 | -3/+7 |
| | | | | | | The info() function won't work but hal_info() still should. | ||||
* | Refine the bad hardware checker -- this time it detects my potentially ↵ | Michael DeHaan | 2007-09-26 | 1 | -1/+31 |
| | | | | | | exploding (but now ruled safe) battery correctly. | ||||
* | Move packagekit module to contrib directory since the code required to use ↵ | Michael DeHaan | 2007-09-26 | 1 | -92/+0 |
| | | | | | | | it is not in any version of Fedora quite yet and we don't want to answer the user questions about the import errors :) Can move back in once it's all good. | ||||
* | add stuff for specify a mode/uid/gid and a "force" just for | Adrian Likins | 2007-09-25 | 1 | -2/+13 |
| | | | | kicks | ||||
* | catch some potentially bad args to the process.kill method | Adrian Likins | 2007-09-25 | 1 | -2/+11 |
| | | | | | We don't want empty args to end up killing the calling process, aka, funcd, so we filter those out. | ||||
* | Be a bit more paranoid about sub processes. Before | Adrian Likins | 2007-09-25 | 1 | -3/+6 |
| | | | | | | | | we could just send "aux; some_arbitrary_command_here" and "some_arbitrary_command_here" would get executed. Also, for some reason, if we send process.kill just one argument, it kills funcd dead. I'm not sure why currently | ||||
* | couple of utility makefiles | Adrian Likins | 2007-09-25 | 1 | -0/+19 |
| | | | | | mainly just so I can type "make clean" before "git status" but also includes targets for pychecker and pyflakes | ||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Adrian Likins | 2007-09-25 | 1 | -0/+92 |
|\ | |||||
| * | Merge branch 'master' of git://git.fedoraproject.org/git/hosted/func | Robin Norwood | 2007-09-24 | 5 | -12/+69 |
| |\ | |||||
| * | | Initial module for PackageKit support. Requires very-latest-from-git ↵ | Robin Norwood | 2007-09-24 | 1 | -0/+92 |
| | | | | | | | | | | | | PackageKit. | ||||
* | | | pyflakes cleanups | Adrian Likins | 2007-09-24 | 6 | -13/+4 |
| |/ |/| | | | | | | | | | | | mostly just removing unused modules change "from codes import *" to "import codes" in a couple places and updated accordingly | ||||
* | | Package the subprocess module so that we can use it on EL4. | Michael DeHaan | 2007-09-24 | 5 | -13/+13 |
| | | |||||
* | | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2007-09-24 | 2 | -1/+25 |
|\| | |||||
| * | add some simple support for base object methods | Adrian Likins | 2007-09-24 | 2 | -1/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | add "module_version", "module_api_version" and "module_description" as base object methods. All classes based on func_module should get this. modules should set a self.version, self.api_version, self.description with approriate values. class or instance variables both work. If values aren't set, defaults are provided. alternativelt, the modules can implement and export "module_version", "module_api_version", and "module_description" themself if they like | ||||
* | | Basic plugin for checking SMART status on drives. | Michael DeHaan | 2007-09-24 | 1 | -2/+1 |
| | | |||||
* | | Add basic module for checking smart status of drives. | Michael DeHaan | 2007-09-24 | 1 | -0/+58 |
| | | |||||
* | | Remove header from ps output | Michael DeHaan | 2007-09-24 | 1 | -1/+1 |
|/ | |||||
* | Rename yummod as yum so each module doesn't end up ending in mod :) | Michael DeHaan | 2007-09-21 | 1 | -0/+0 |
| | |||||
* | Added kill and pkill to the process module | Michael DeHaan | 2007-09-21 | 1 | -1/+12 |
| | |||||
* | Process module. Accepts flags to PS, returns nicely formatted tabular output. | Michael DeHaan | 2007-09-21 | 1 | -0/+57 |
| | |||||
* | Added a smolt-based hardware profiler module. | Michael DeHaan | 2007-09-21 | 1 | -0/+100 |
| | |||||
* | Remove underscores from exported function names as they are now redundant. | Michael DeHaan | 2007-09-21 | 5 | -17/+17 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Adrian Likins | 2007-09-21 | 1 | -5/+5 |
|\ | |||||
| * | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2007-09-21 | 2 | -0/+152 |
| |\ | |||||
| * | | Fix up virt code some more. | Michael DeHaan | 2007-09-21 | 1 | -5/+5 |
| | | | |||||
* | | | change to module loader to allow subdirs in the module path. | Adrian Likins | 2007-09-21 | 1 | -2/+2 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also implies that methods calls need a module as well (aka, you now have to call test.test_add instead of just test_add) but this also means you can setup modules/foo/bar/blip.py and blip.py exports a "do_blippy" method, which you would call by the name foo.bar.blip.do_blippy() Note, any subdir that has module files in it, will need an approriate __init__.py file. server.py, func_module.py: To do the above, we need to pass in the module_name to the register function, so we can associate it correctly. server.py also got a fix for a FuncException that needed tobe codes.FuncException | ||||
* | | copyfile routine to push files quasi-intelligently | Seth Vidal | 2007-09-21 | 1 | -0/+104 |
| | | |||||
* | | Add yum module | James Bowes | 2007-09-21 | 1 | -0/+48 |
|/ | | | | Only updating supported right now. | ||||
* | Misc fixes to the virt management module. | Michael DeHaan | 2007-09-21 | 1 | -10/+9 |
| | |||||
* | fix typo | Robin Norwood | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | use the right module | Seth Vidal | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | Missed reboot.py when renaming web_svc to func_module. | Michael DeHaan | 2007-09-21 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2007-09-21 | 1 | -0/+29 |
|\ | |||||
| * | Add reboot module | James Bowes | 2007-09-20 | 1 | -0/+29 |
| | | |||||
* | | Rename web_svc as func_module. | Michael DeHaan | 2007-09-21 | 4 | -21/+12 |
|/ | |||||
* | Add virt module. | Michael DeHaan | 2007-09-20 | 1 | -0/+276 |
| | |||||
* | Implement a quickie service control module | Michael DeHaan | 2007-09-20 | 1 | -0/+60 |
| |