Commit Graph

46753 Commits

Author SHA1 Message Date
Thomas S Hatch
393ee4c87d Merge pull request #22390 from cro/pyshtrue_unless_onlyif
Allow unless, onlyif, check_cmd to use python_shell=True
2015-04-07 09:15:11 -06:00
Thomas S Hatch
aec21a6816 Merge pull request #22377 from Lendar/file-recurse-unicode
Support unicode in file.recurse
2015-04-07 09:14:37 -06:00
Thomas S Hatch
ebdf143c7e Merge pull request #22350 from jacksontj/2015.2
2015.2: Fix batching
2015-04-07 09:13:46 -06:00
Thomas S Hatch
234cb65a23 Merge pull request #22319 from plastikos/improvement-pillar_pcre
Improvement: add pillar PCRE matching
2015-04-07 09:09:49 -06:00
Justin Findlay
d640823767 Merge pull request #22407 from jayeshka/win_servermanager-unit-test
adding win_servermanager unit test case.
2015-04-07 08:40:33 -06:00
Mike Place
ea97a9e600 Merge pull request #22410 from jayeshka/smtp-unit-test
adding smtp unit test case.
2015-04-07 08:25:25 -06:00
Nicole Thomas
d06df7f1e9 Merge pull request #22405 from rahulhan/states_git_unit_test
Adding git.py (states) unit tests
2015-04-07 07:47:50 -06:00
Nicole Thomas
0ec0c20996 Merge pull request #22404 from rahulhan/win_path_test
Adding win_path.py unit test cases
2015-04-07 07:43:01 -06:00
Nicole Thomas
fcbb82e66b Merge pull request #22389 from basepi/salt-ssh-returners
[2015.2] Pass the `fun` to the returners in salt-ssh
2015-04-07 07:32:36 -06:00
Jayesh Kariya
605d4f3ea9 adding smtp unit test case. 2015-04-07 17:39:32 +05:30
Jayesh Kariya
a0cd8189de adding win_servermanager unit test case. 2015-04-07 15:44:24 +05:30
Rahul Handay
a807d2c55b Adding git.py (states) unit tests 2015-04-07 15:05:25 +05:30
Rahul Handay
7462556283 Adding win_path.py unit test cases 2015-04-07 14:16:45 +05:30
Thomas Jackson
5d8a4d7ab7 Add timeout to batch tests 2015-04-06 16:46:44 -07:00
Thomas Jackson
27c62bf046 Cleanup pylint errors 2015-04-06 16:46:44 -07:00
Thomas Jackson
a823299d96 Re-work batching to more closely match CLI usage
In the regular CLI we consider a job as completed once all minions aren't running the job anymore. In this batching implementation we will ping all minions, wait up to timeout, then start the batching. In the event of minions returning during the batching we'll add them to the list of targets.
2015-04-06 16:46:44 -07:00
Thomas Jackson
2c89983424 Stop chdir() in pcre minions 2015-04-06 16:46:44 -07:00
Thomas Jackson
f4a28a77f6 Stop the os.chdir() to do glob 2015-04-06 16:46:44 -07:00
Thomas Jackson
7369f951ca More clear about CKMinions' purpose in the docstring 2015-04-06 16:46:44 -07:00
Thomas Jackson
7af94fb85d Revert "Just use ckminions in batch mode."
This reverts commit 6c5f3f8d2e.

We can't use ckminions since it is a gauranteed superset (not the exact set)
2015-04-06 16:46:44 -07:00
Thomas Jackson
4e5480b88a Fix CKMinions _check_range_minions
In the localclient the range return is already assumed to be a list of the minion_ids. This implementation assumed it was returning a list of fqdns, which makes for unecessary complications. In addition we were making the same range expand N times (N being the number of *total* minions)-- which is a LOT.
2015-04-06 16:46:44 -07:00
Mike Place
f07e8b0499 Merge pull request #22393 from kev009/2015.2-docs
2015.2 relnotes edits
2015-04-06 15:45:57 -06:00
Kevin Bowling
f324d38f8c 2015.2 relnotes edits 2015-04-06 14:36:51 -07:00
C. R. Oldham
977d9accf0 Allow unless, onlyif, check_cmd to use python_shell=True 2015-04-06 14:20:08 -06:00
Colton Myers
b493269140 Pass the fun to the returners in salt-ssh 2015-04-06 12:42:34 -06:00
Nicole Thomas
ffae7d6170 Merge pull request #22375 from ckochenower/2015.2
Modify the Cassandra management and returner modules
2015-04-06 12:36:31 -06:00
Mike Place
ce0fb585de Merge pull request #22344 from jfindlay/bp-21652
Backport #21652 from develop to 2015.2
2015-04-06 11:25:26 -06:00
Mike Place
d8815c7dbc Merge pull request #22343 from jfindlay/shell_enabled_tests
add shell {en|dis}abled tests for cmdline, templates
2015-04-06 11:24:14 -06:00
Thayne Harbaugh
3bc50b291c Appease the pylint gods. 2015-04-06 08:24:57 -06:00
Justin Findlay
54c83e3fe7 Merge pull request #22380 from jayeshka/win_ip-unit-test
adding win_ip unit test case.
2015-04-06 07:39:32 -06:00
Justin Findlay
8c272fd1ae Merge pull request #22378 from rahulhan/win_system_tests
Adding win_system unit test cases
2015-04-06 07:28:07 -06:00
Jayesh Kariya
6c7ed37c87 adding win_ip unit test case. 2015-04-06 15:35:01 +05:30
Rahul Handay
37731bbfdf Adding win_system unit test cases 2015-04-06 14:16:38 +05:30
root
15dc0442da Fix lint errors 2015-04-05 23:35:47 -04:00
Lendar
21e333c7ba Support unicode in file.recurse 2015-04-06 04:00:34 +03:00
root
81f0551649 Modify the Cassandra management and returner modules
Use context dunder (__context__) to store a cassandra Cluster
(connection pool). This will allow each worker thread have a
connection pool from which to create sessions (lease connections.)

Refactor the Salt Cassandra schema to use "minion_id" insted of
"id".
2015-04-05 18:26:47 -04:00
Justin Findlay
19e0d7a322 Merge pull request #22353 from jacksontj/git_state
Add error logging for uncaught exceptions in git state module
2015-04-03 20:06:19 -06:00
Thomas Jackson
dc6965d201 Add error logging for uncaught exceptions in git state module 2015-04-03 18:13:20 -07:00
Thayne Harbaugh
a7a33b381c Various fixes:
* Add missing spaces in help
   * Correct order of arguments to _check_cache_minions() (not part of pillar_pcre)
   * Add platening of pillar_pcre to pillar_exact_minions
   * Add missing match to pillar_pcre
   * Correct unit test
2015-04-03 18:32:52 -06:00
Justin Findlay
fb8b1858a7 shell {en|dis}abled tests for cmdline, templates 2015-04-03 18:08:13 -06:00
Mike Place
f3df92834d More helper text, refactor filehandles, clean up 2015-04-03 15:34:47 -06:00
Mike Place
018400d94c Remove loop interval setting, was causing cpus to spin 2015-04-03 15:34:47 -06:00
Mike Place
275993ee18 Include parser option for --no-tests 2015-04-03 15:34:46 -06:00
Nicole Thomas
7de4ed3cc3 Merge pull request #22335 from whiteinge/doc-new-beacons
Add new beacons to module index
2015-04-03 12:50:53 -06:00
Seth House
fbfbde5bde Added autodoc placeholders for the new modules 2015-04-03 12:31:57 -06:00
Seth House
92e0338a59 Updated beacon, roster, runners module indexes with new additions 2015-04-03 12:27:11 -06:00
Thomas S Hatch
f0575ff7ef Merge pull request #22313 from jacksontj/2015.2
Fix suicide_when_without_parent
2015-04-03 09:42:17 -06:00
Thomas S Hatch
9ffdb51d18 Merge pull request #22301 from twangboy/git_state_fix
Fixed logic error
2015-04-03 09:40:45 -06:00
Thomas S Hatch
70b0cea4f1 Merge pull request #22296 from twangboy/fix_git_string
Fix git module to work in windows
2015-04-03 09:40:29 -06:00
Nicole Thomas
b23dd2234d Merge pull request #22315 from rahulhan/event_unit_test
Adding states event.py unit tests
2015-04-03 06:30:58 -06:00