summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for configuring funcd ports.Adrian Likins2008-11-123-8/+31
| | | | | | | | | | | | | | func/overlord/base_command.py: add support for reading the port from the minion.conf file. This may need to be changed if we want to support each minion having a different port number. func/overlord/cmd_modules/call.py: The commandline options were overriding the default values in base_command for async/verbose/etc. The commandline options have been changed to get there defaults from the baseclass now. This was also causing func cli to default to async mode. func/overlord/cmd_modules/check.py: updated to reflect that the port numbers are not hardcoded now
* For some reason, Client is getting init'ed with async=NoneAdrian Likins2008-11-111-3/+6
| | | | | | | which is wrong. So workaround that. The real problem seems to be somewhere in base_command, but this will prevent it from defaulting to async for now.
* cleanup our coverage data on "make clean"Adrian Likins2008-11-111-1/+3
|
* typo in the method args description in filetracker moduleAdrian Likins2008-11-111-2/+2
| | | | Missed these when the glob support was added to filetracker.
* Merge branch 'gum'Adrian Likins2008-11-103-1/+231
|\
| * - add method for checking existing git configAdrian Likins2008-08-051-36/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - refactor existing config parser - change find_remote_branches to expect a single name and to return a list - add find_remotes_branches to expect a list of names and to return a hash of lists - add show_remote_branches instead of doing it in find_remote_branches - add_remote checks for existes of branches and remotes - add_remote adds all the remote branches as local branches in format "repo_name-remote_branch_name"
| * little more gum testingAdrian Likins2008-08-052-5/+5
| |
| * I should probably get my own url correct.Adrian Likins2008-07-301-3/+3
| |
| * gum is a wrapper around git, and a config file of all the func repo's we ↵Adrian Likins2008-07-302-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | know about. The basic idea being to make it very easy for someone to find, add, and checkout any of the various devel repos and branches. Neal: hey bob, I just hit this weird bug! It sucks Bob: Oh, I fixed that yesterday in my foobar branch Neal: cool! how do I get that? Bob: easy, just type "git uh... mumble..." Dangit! I can never remmeber that! Neal: ugh, never mind, maybe I just write some Cobol cim bindings... Bob: or, type ./gum --add bob Neal: Hooray! The config file is just in .git/config format, and we use git itself to parse it.
* | add some tests cases for copyfileAdrian Likins2008-11-102-4/+18
| |
* | add func_getargs.py module from Louis CoilliotLouis Coilliot2008-11-041-0/+60
| | | | | | | | | | Adds some introspection support using the "inspect" module
* | add Louis Coilliot <louis.coilliot@gmail.com> toAdrian Likins2008-11-041-0/+1
| | | | | | | | contributors
* | Pass in the correct $DAEMON arg to the dameon cmd in theAdrian Likins2008-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | init scripts. Previsouly we were just passing in the process name (which mostly works, though mostly by accident) Suggestion from Louis Coilliot <louis.coilliot@gmail.com>
* | Fix a bug with "func-transmit --yaml" send bools as strings and causingAdrian Likins2008-10-312-6/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | weird things to happen to async. Add a "smart_bool" method to client.py that will take the string and/or bool it gets and make a bool of it. test_func_transmit.py: add option to specify async/nfork params for the non async test calls for testing add a couple test cases that call methods with "async=True, nforks=1" to make sure they do the right thing
* | add Test.conf module to spec file to fix build failureAdrian Likins2008-10-311-0/+1
| |
* | Fix minion module config examples. Add local "Config" class to module.Adrian Likins2008-10-243-16/+40
| | | | | | | | | | | | | | | | | | | | Add in all the approriate types and defaults to Config class Update etc/Test.conf example to include everything in main. For now we only support one stanza config files for modules. updated test cases to test that proper values are fetched from the config file for the "test" module
* | add some test cases for per module configuation.Adrian Likins2008-10-245-3/+35
| | | | | | | | | | | | This stuff doesnt really seem to work at this point, but pushing so other folks can take a look at it. It doesn't break anything else.
* | Merge branch 'master' of ssh://alikins@git.fedorahosted.org/git/funcAdrian Likins2008-10-212-2/+9
|\ \
| * | Add listen_addr and listen_port to config so theAdrian Likins2008-10-202-2/+9
| | | | | | | | | | | | | | | | | | | | | address and port funcd listens on is configurable. overlord side code for this isnt done yet, so not all that useful at the moment.
* | | add system.inventory() method that returns a list of all modulesAdrian Likins2008-10-201-2/+23
| | | | | | | | | | | | | | | | | | and methods on a system. Not documented yet, since it's probably not in final form yet.
* | | Add some support for saving module config files. And corresponding test cases.Adrian Likins2008-10-203-2/+33
|/ /
* | add .coverage dir to gitignore as wellAdrian Likins2008-10-151-0/+1
| |
* | add test coverage data dirs to gitignoreAdrian Likins2008-10-151-0/+2
| |
* | Add in some support for test coverage.Adrian Likins2008-10-154-0/+585
| | | | | | | | | | | | | | | | | | | | | | | | test/unittest/plugins/*: add a funccover nosetest plugin that can write out code coverage attribution information cover_to_html.py: script to convert coverage information to html output. This isn't integrated into the test scripts yet, but should work for manually ran tests. See plugins/README for more info
* | add support for filename globsAdrian Likins2008-10-151-6/+26
| | | | | | | | | | | | | | | | | | | | .track() and .untrack() can both take a filename, a list of filenames, a file glob, or a list of file globs now. Also, rev the api verion to 0.0.2 Fixes https://fedorahosted.org/func/ticket/59
* | Merge branch 'jcapel-vlan'Adrian Likins2008-10-081-9/+118
|\ \
| * | Fixed some string/integer mixups, we'll now only use strings for vlan ids. ↵Jasper Capel2008-10-061-7/+27
| | | | | | | | | | | | Also made some speed optimizations in the make_it_so method (i.e. don't run ifup on a VLAN that's already up).
| * | Renamed makeitso method to make_it_so.Jasper Capel2008-10-061-1/+1
| | |
| * | Added write() and list_permanent() methods to VLAN module. Also upped the ↵Jasper Capel2008-09-301-3/+53
| | | | | | | | | | | | module and API versions.
| * | Added add_permanent and delete_permanent methods to vlan module.Jasper Capel2008-09-301-0/+39
| | |
* | | Merge branch 'jcapel-bridge'Adrian Likins2008-10-081-8/+292
|\ \ \
| * | | Added make_it_so and write methodsJasper Capel2008-10-061-6/+118
| | | |
| * | | Added methods to permanently add/remove bridges or permanently add/remove ↵Jasper Capel2008-10-061-3/+175
| |/ / | | | | | | | | | interfaces from bridges.
* / / Django cotnrol module from Steve 'Ashcrow' Milner <stevem@gnulinux.net>Steve 'Ashcrow' Milner2008-10-081-0/+128
|/ /
* | Merge branch 'bridge_module'Adrian Likins2008-09-171-0/+170
|\ \
| * | Changed method names in bridge module for increased usability.Jasper Capel2008-09-171-15/+23
| | |
| * | Added new module for basic bridge managementJasper Capel2008-09-171-0/+162
| | |
* | | add method in test minion module to export it's configAdrian Likins2008-09-162-0/+15
|/ / | | | | | | add a simple unit test case to poke at it
* | add Jasper to contributors listAdrian Likins2008-09-161-0/+1
| |
* | patch to add some basic support for creating vlans fromJasper Capel2008-09-161-0/+139
| | | | | | | | Jasper Capel <capel@stone-it.com>
* | do not return None when launcing jboss with no optionsAdrian Likins2008-09-081-2/+2
| | | | | | | | patch from Luca Foppiano <lfoppiano@byte-code.com>
* | add a method to the test module to return a really big intAdrian Likins2008-09-051-0/+10
| | | | | | | | | | | | Seems to break current versions of python, however. patch from Luca Lesinigo <luca@luckyluke.org>
* | Merge branch 'luca_patch' into merge_testAdrian Likins2008-09-054-6/+143
|\ \
| * | add some gentoo/portage support files in contribLuca Lesinigo2008-09-032-0/+81
| | | | | | | | | | | | patch from Luca Lesinigo <luca@luckyluke.org>
| * | Add a new --list-modules to the minion (funcd). The new option will let it ↵Luca Lesinigo2008-09-031-0/+8
| | | | | | | | | | | | | | | | | | print the list of loaded modules and quit. patch from Luca Lesinigo <luca@luckyluke.org>
| * | funcd man page patch from Luca LesinigoLuca Lesinigo2008-09-031-6/+54
| | |
* | | func-transmit now has some ways of handling exceptions raised from theAdrian Likins2008-09-022-16/+46
|/ / | | | | | | | | | | | | | | | | Overlord() api class. It will catch them, and then marshall them into a dict of {'name':"?", 'error':1, 'message':"?". 'info':{dict of whatever}} It will also exit the process with status 1 instead of 0. Also, some refactoring to make the error handling a little easier.
* | make command.run invoke sub_process with closed_fds=TrueAdrian Likins2008-09-021-2/+3
| | | | | | | | | | | | | | so new processed dont inherit any fd's from func FIXME: we should probably do the same for all uses of sub_process
* | comment out these tests till we find a more consistent way to testsAdrian Likins2008-09-021-16/+17
| | | | | | | | group related things
* | update changelogAdrian Likins2008-09-021-0/+3
| |