Commit Graph

456 Commits

Author SHA1 Message Date
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
Thomas S Hatch
2c6bda335b Make naming the destination file work 2011-04-04 22:42:27 -06:00
Thomas S Hatch
881eaac7d8 Add impot salt.cli.ftp 2011-04-04 22:38:59 -06:00
Thomas S Hatch
e33bee620f Add salt-ftp script ot the setup 2011-04-04 22:26:44 -06:00
Thomas S Hatch
6cd8eb8aeb Fix syntax issues in salt-ftp 2011-04-04 22:10:02 -06:00
Thomas S Hatch
32d9f1903e Merge branch 'master' of github.com:thatch45/salt 2011-04-04 22:00:33 -06:00
Thomas S Hatch
25200b600d Add minion side salt-ftp module, ready for testing 2011-04-04 22:00:04 -06:00
Thomas S Hatch
0f92843ec2 Add ftp module, the backend for salt-ftp 2011-04-04 21:39:39 -06:00
Thomas S Hatch
2f3b4b0e62 Change var ref in saltftp class 2011-04-04 21:39:20 -06:00
Thomas S Hatch
550f4283d1 Add cli frontend to salt-ftp 2011-04-04 20:29:37 -06:00
Thomas S Hatch
58eb4c9adc Add script for salt-ftp command 2011-04-04 20:14:58 -06:00
Thomas S Hatch
da3a79ece1 Confident that purge is removing the correct data 2011-04-04 15:31:05 -06:00
Thomas S Hatch
6e289c8ee1 Don't fail if the vm is not present in virt module 2011-04-04 15:01:53 -06:00
Thomas S Hatch
bba75970ac safty on virt.purge for testing 2011-04-04 14:50:28 -06:00
Thomas S Hatch
3742e09b36 Add check in butterkvm to verify th eexistence of the disk image 2011-04-04 13:54:48 -06:00
Thomas S Hatch
a44f23cb25 GAH! Fix bug in butterkvm where /tmp was getting deleted 2011-04-04 13:21:38 -06:00
Thomas S Hatch
25c6c3201f Repair incorrect var reference in butterkvm 2011-04-04 13:05:19 -06:00
Thomas S Hatch
1053164316 Make saltkey output cleaner 2011-04-04 12:52:42 -06:00
Matthias Teege
3512096c57 sanitize input data in modules/network.py
this patch adds a function to sanitize the host input data in
modules/network.py. It also fixes a bug in isportopen and validates the
give port

Signed-off-by: Matthias Teege <matthias-git@mteege.de>
Signed-off-by: Thomas S Hatch <thatch45@gmail.com>
2011-04-04 09:42:30 -06:00
Matthias Teege
f855ad1a92 Fix type in modules/cmd.py
Signed-off-by: Matthias Teege <matthias-git@mteege.de>
Signed-off-by: Thomas S Hatch <thatch45@gmail.com>
2011-04-04 09:42:20 -06:00
Thomas S Hatch
9147f3412e Add salt ebuild to package support, thanks Matthias! 2011-04-04 09:41:27 -06:00
Thomas S Hatch
c2782795dc Fix assignment issue in coallatz 2011-04-03 16:57:07 -06:00
Thomas S Hatch
8006ca2e55 Fix module loading without importlib 2011-04-03 16:55:37 -06:00
Thomas S Hatch
eeba3c6964 Add cython modules to setup.py 2011-04-03 16:25:17 -06:00
Thomas S Hatch
041c730f54 Fix compile issue with cytest 2011-04-03 15:57:01 -06:00
Thomas S Hatch
a11b514907 Add cython test module 2011-04-03 15:01:44 -06:00