summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | the "make clean_harder" was perhaps a bit much...Adrian Likins2008-07-241-1/+1
| | | | |
* | | | | attempting to remove any prints to stdout that should be going to stderrAdrian Likins2008-07-247-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to make sure things are clean for func-transmit. At some point, this should probably be some sort of log object instead of just to stderr.
* | | | | rev api version to "0.1.0" since we changed the return ofAdrian Likins2008-07-241-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | a method. Pretty sure noone is actually using the api version info, but what the heck.
* | | | Previously the update method returned true even if yum didn't actually update.Alex Wood2008-07-241-4/+3
| | | | | | | | | | | | | | | | Now it returns the list of packages updated.
* | | | Merge branch 'master' of ssh://alikins@git.fedoraproject.org/git/hosted/funcAdrian Likins2008-07-248-23/+237
|\ \ \ \
| * \ \ \ Merge kadamski@git.fedorahosted.org:/git/funcKrzysztof A. Adamski2008-07-249-8/+10
| |\ \ \ \
| * | | | | Raise exception when no minions match server_spec.Krzysztof A. Adamski2008-07-241-0/+2
| | | | | |
| * | | | | Adding Steve Salevan to AUTHORS.Krzysztof A. Adamski2008-07-241-0/+1
| | | | | |
| * | | | | Merge branch 'ssalevan-delegation'Krzysztof A. Adamski2008-07-247-23/+234
| |\ \ \ \ \
| | * \ \ \ \ Merge branch 'master' of git@github.com:ssalevan/funcSteve Salevan2008-07-238-49/+516
| | |\ \ \ \ \
| | * | | | | | Adding delegation capabilities for asynchronous calls, fixing ↵Steve Salevan2008-07-236-18/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jobthing/forkbomb to exit with an exit command that won't cause a SystemExit exception to be fired during delegated async calls, adding list_minions() function to Overlord object that works with delegation
| | * | | | | | Fixing mapper to recognize and fix infinite recursive loops and error conditionsSteve Salevan2008-07-182-2/+16
| | | | | | | |
| | * | | | | | Adding delegation call grouping to reduce the amount of necessary delegated ↵Steve Salevan2008-07-163-14/+79
| | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | calls to perform an action
* | | | | | | Merge branch 'unduping_code'Adrian Likins2008-07-241-1/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | change this call to hostname to emulate the way the old func.minion.utilsAdrian Likins2008-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | did it. Probably need to figure out if this is needed or not later.
* | | | | | | Merge branch 'unduping_code'Adrian Likins2008-07-249-8/+10
|\| | | | | | | |/ / / / / |/| | | | |
| * | | | | do a make clean_hard clean_harder on test installsAdrian Likins2008-07-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (aka, cleanup anything installed already)
| * | | | | aiee. missed some uses of "func.config". Fix those to use certmaster.configAdrian Likins2008-07-248-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also missed a use of SSLCommon. darn grep, must be broken. Yeah, thats it, grep screw up. Nope, not me. Not me at all.
* | | | | | Merge branch 'unduping_code'Adrian Likins2008-07-2415-1055/+15
|\| | | | |
| * | | | | cleanup funcweb.egg-info on "make clean"Adrian Likins2008-07-241-0/+1
| | | | | |
| * | | | | add funcweb/funcweb.egg-info to .gitignoreAdrian Likins2008-07-241-0/+1
| | | | | |
| * | | | | remove func's copy of SSLCommon.py and SSLConnection.pyAdrian Likins2008-07-242-286/+0
| | | | | | | | | | | | | | | | | | | | | | | | we dont need them anymore
| * | | | | use the SSLCommon from certmaster, it's gone from funcAdrian Likins2008-07-241-1/+1
| | | | | |
| * | | | | remove func/certs.py, func/config.py, and func/minion/utils.pyAdrian Likins2008-07-243-712/+0
| | | | | |
| * | | | | update to use certmaster utils.pyAdrian Likins2008-07-241-2/+2
| | | | | |
| * | | | | add funcweb to "make clean" targetsAdrian Likins2008-07-241-2/+2
| | | | | |
| * | | | | gut most of func/utils.pyAdrian Likins2008-07-243-51/+6
| | | | | | | | | | | | | | | | | | | | | | | | update code to use existing code from certmaster/utils.py
| * | | | | use the config.py from certmaster, we dont need it hereAdrian Likins2008-07-241-1/+1
| | | | | |
| * | | | | add #! lineAdrian Likins2008-07-241-0/+1
| | |/ / / | |/| | |
* / | | | fix calls of "func '@group1;@group2" fooAdrian Likins2008-07-242-21/+21
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | The groups weren't getting seperated correctly (they expected a ':' as the seperator, which is wrong). Uncomment some of the test cases for this that now work.
* | | / apply patch from awood@redhat.com thats adds a filter to the ↵Adrian Likins2008-07-233-4/+40
| |_|/ |/| | | | | | | | | | | | | | yumcmd.check_update call also add awood to Authors, and add a few unit tests
* | | Fix usage message printing in copyfile cmd_module.Krzysztof A. Adamski2008-07-201-1/+1
| | |
* | | Merge branch 'mhicks'Adrian Likins2008-07-191-0/+36
|\ \ \
| * | | We need to make sure the KVM autostart directory existsMatt Hicks2008-07-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | since it is dynamically created with 'virsh autostart'. In the case that you haven't run virsh autostart, the directory doesn't exist and makes the func module fail.
| * | | Adding a 'virttype' method to the virtualization moduleMatt Hicks2008-07-181-0/+3
| | | | | | | | | | | | | | | | | | | | to allow a simple call to determine whether the machine is running Xen or KVM.
| * | | Switching from using 'virsh autostart' to manually creatingMatt Hicks2008-07-181-4/+7
| | | | | | | | | | | | | | | | | | | | the autostart link to allow for the autostart to work even when the VM is not running.
| * | | Adding an autostart method that creates the symbolic linkMatt Hicks2008-07-181-0/+21
| | | | | | | | | | | | | | | | | | | | for autostarting on Xen and uses the virsh call to autostart when on KVM.
| * | | Adding an option for no graphics supportMatthew Hicks2008-07-151-1/+4
| | | |
| * | | Closing file descriptors during the virt install to avoid leaking themMatthew Hicks2008-07-151-1/+1
| | | |
| * | | Updated find_resources.py and func-find-resources script to look across minionsMatthew Hicks2008-07-152-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for enough RAM and a matching architecture to run a 'virt install' (koan) - Requires the freemem functionality enhancement to the virt.py module - Only allows Domain-0 shrink to 512M to keep it stable -- Technically, Domain-0 can be shrunk to 256M which is in accordance with how the freemem module reports available memory
* | | | Do some refactoring of func-transmit.Adrian Likins2008-07-181-79/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make JSON the default encoding reorganize some imports move everything into a main()
* | | | update list_minion test to expect just the listAdrian Likins2008-07-181-1/+1
| | | |
* | | | remove the code that packs this into a dict, Marco says it'sAdrian Likins2008-07-181-2/+1
| | | | | | | | | | | | | | | | not needed now
* | | | test_func_transmit.py: refactor the unittestsAdrian Likins2008-07-181-32/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add support for testing yaml/json input/output add support for async testing of all tests try `nosetests -a async test_func_transmit.py` to test all the async test try `nosetest -a json test_func_transmit.py` to test all the json tests, etc NOTE: several of these tests fail for json/yaml, not sure what to do about that
* | | | func-transmit: merge a modified patch from mmornati@byte-code.comAdrian Likins2008-07-181-14/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds json support to func-transmit add an exception on async calls to list_minions removed the special casing for "job_status", it doesn't need to be special cased. "list_minions" is a func-transmit call only, so it can do whatever it wants.
* | | | func.spec: remove requirement for pyyaml, add python-simplejsonAdrian Likins2008-07-181-1/+1
| | | |
* | | | func-transmit: handle lists of client globs. Not sure this is the correctAdrian Likins2008-07-162-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | approach, but it seems to mostly work for now test_func_transmit.py: more test cases for func-transmit
* | | | Change parameter passing... we need to call it with a list of paramaters, ↵Adrian Likins2008-07-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | though the code will understand how to deal with a single item being passed. Also changed the method call to pass it as an arg list to the method (aka, method(*parameters))
* | | | new file, test_func_transmit.py:Adrian Likins2008-07-152-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unit tests for func-transmit right now, mostly just tests of marshalling data back and forth properly, and some basic calls NOTE: at the moment, it fails alot of these tests test_clients.py: add a couple new tests based on things discovered with test_func_transmit.py
* | | | Added patch to be able to update just a specific packageMichael DeHaan2008-07-152-2/+6
| |/ / |/| |