Commit Graph

531 Commits

Author SHA1 Message Date
Thomas S Hatch
5ee7d21e5f Add cli capability for compound execution 2011-04-12 23:10:06 -06:00
Thomas S Hatch
65b781560d Add support to the minion for compound execution 2011-04-12 22:19:44 -06:00
Thomas S Hatch
ddbe4a06ae More fixes to saltkey printing 2011-04-12 21:03:26 -06:00
Thomas S Hatch
a12326ff0b Sort output, because it is pretty 2011-04-12 20:55:49 -06:00
Thomas S Hatch
9d3eafe62a Fix a ==, really Tom? 2011-04-12 20:52:57 -06:00
Thomas S Hatch
fe42002392 Clean up output of saltkey 2011-04-12 20:51:21 -06:00
Thomas S Hatch
a001de6886 print needs a _ 2011-04-12 20:47:14 -06:00
Thomas S Hatch
9793f1acb1 Pass the print options to the opts dict 2011-04-12 20:45:54 -06:00
Thomas S Hatch
3354147f02 Merge branch 'master' of github.com:thatch45/salt 2011-04-12 20:27:04 -06:00
Thomas S Hatch
9e3eec914d Fix that salt-cp thing in the setup.py 2011-04-12 20:26:04 -06:00
Thomas S Hatch
07c94f6366 Modify salt to use id instead of hostname for the minion identifier 2011-04-12 14:01:17 -06:00
Thomas S Hatch
b24801fc0d change the hostname var to id in the config stack 2011-04-12 13:56:03 -06:00
Thomas S Hatch
8055437e2d Add key printing to saltkey, cleaned up some code copying 2011-04-12 13:06:19 -06:00
Thomas S Hatch
9be9313e47 Add bash output colors to the salt utils module 2011-04-12 12:51:50 -06:00
Thomas S Hatch
753cc02789 Add print options to the saltkey cli 2011-04-12 12:35:57 -06:00
Thomas S Hatch
ddad0a4b88 move minion ftp to cp 2011-04-12 12:32:23 -06:00
Thomas S Hatch
e630929b13 rename the ftp module to cp 2011-04-12 12:31:16 -06:00
Thomas S Hatch
a4cc4ccd28 change the salt-ftp api to be salt-cp 2011-04-12 12:27:57 -06:00
Thomas S Hatch
0fd719efc1 chaneg the startup chain from salt-ftp to salt-cp 2011-04-12 12:24:54 -06:00
Thomas S Hatch
5cc253820f change salt-ftp to salt-cp in the setup 2011-04-12 12:21:43 -06:00
Thomas S Hatch
8a08697e48 move salt-ftp to salt-cp 2011-04-12 12:20:09 -06:00
Thomas S Hatch
43d705bfc1 Add the config backend for multiprocessing 2011-04-11 10:46:26 -06:00
Thomas S Hatch
2904b18db3 Add support for multiprocessing support in the minion 2011-04-11 09:32:09 -06:00
Thomas S Hatch
c0d0d81dda Add logic to print raw, json or yaml 2011-04-11 09:18:38 -06:00
Thomas S Hatch
0b7700474d Add raw and json output options to the cli 2011-04-11 09:11:23 -06:00
Thomas S Hatch
f3bfa3ed2b Modify threading in the master, makes returns faster on avaerage and
more deterministic
2011-04-10 22:12:39 -06:00
Thomas S Hatch
8b8db55336 Merge branch 'master' of github.com:thatch45/salt 2011-04-09 11:40:25 -06:00
Matthias Teege
1920679ad3 match hosts based on arbitrairy execution
Add the capability to match hosts based on information gathered from an
arbitrairy execution. Patch introduces the -X cli option which takes a
function name. The function is executed on all minions. If it returns
true, the host is "selected".

     salt -X 'test.ping' status.uptime

Signed-off-by: Matthias Teege <matthias-git@mteege.de>
2011-04-09 11:39:18 -06:00
Thomas S Hatch
1ee860dc0a Decided to handle this case in butter differently, sorry about the in
and out commits
2011-04-09 11:37:01 -06:00
Joseph Hall
ab9cf7f1ca Added custom() to replace all_status() with code that returns much less data 2011-04-08 18:03:08 -06:00
Thomas S Hatch
1c88d00d16 Add placeholder for clean_disks 2011-04-08 10:49:43 -06:00
Thomas S Hatch
7a181f580f Fix syntax error in setting up the migrate seed 2011-04-07 12:49:34 -06:00
Thomas S Hatch
c4b5300850 Add module configuration examples to the config file 2011-04-07 11:33:48 -06:00
Thomas S Hatch
debff04405 Add get_opts function to the test module 2011-04-07 11:28:40 -06:00
Thomas S Hatch
16eca424cd modify module loading to facilitate a default __opts__ value in a module 2011-04-07 10:58:57 -06:00
Thomas S Hatch
0265c5d695 Add module config test 2011-04-07 10:55:12 -06:00
Thomas S Hatch
49a253e8eb Change how the facter data is loaded, add __opts__ to the modules 2011-04-07 10:47:25 -06:00
Thomas S Hatch
41ed9b8655 Fix disks reference in purge to reflect disks api change 2011-04-06 17:19:30 -06:00
Thomas S Hatch
9de72d3510 The python bindings for migration are poorly documented and generally suck, I
am giving up and shelling out
2011-04-06 16:14:12 -06:00
Thomas S Hatch
ae338f8074 Delete stray line 2011-04-06 16:08:18 -06:00
Thomas S Hatch
a9a748abf0 Fix the advanced disk data 2011-04-06 11:17:01 -06:00
Thomas S Hatch
269b943875 Fix typo in README, thanks for the find Zach! 2011-04-06 09:43:49 -06:00
Thomas S Hatch
0049141754 Give the migrate seed the right perms 2011-04-05 23:01:10 -06:00
Thomas S Hatch
d7d7286812 Some code cleanup 2011-04-05 22:56:49 -06:00
Thomas S Hatch
f335cad9cd Add set_migrate_seed to virt.py 2011-04-05 21:56:30 -06:00
Thomas S Hatch
0a665c5c44 Add qemu-img info to the disks data 2011-04-05 21:07:08 -06:00
Thomas S Hatch
b229295f9f Add Migration support to the virt module 2011-04-05 20:48:22 -06:00
Thomas S Hatch
2a6354993a import shutil in the minion 2011-04-05 14:17:40 -06:00
Thomas S Hatch
53bf2af55b Clean up the tmp_dir after running a glob match 2011-04-05 14:17:04 -06:00
Thomas S Hatch
304fc3e72d change Arch rc scripts to match if not daemonized with -d 2011-04-05 11:33:02 -06:00