Pedro Algarvio
f67d24cf30
Minor cosmetic change.
2012-11-17 17:43:23 +00:00
Pedro Algarvio
526ed994b8
Test for deprecation message first and then use the new --out
format.
2012-11-17 17:39:06 +00:00
Pedro Algarvio
5bf4549777
Use actual time, to reduce time.sleep()
inaccuracy.
2012-11-17 17:37:53 +00:00
Pedro Algarvio
bed55506c3
Proper OrderedDict
check.
2012-11-17 01:19:37 +00:00
Pedro Algarvio
89fd313766
Fix stateconf
test failing in 2.6 because OrderedDict
was not available.
2012-11-16 22:45:12 +00:00
Pedro Algarvio
52b0c1ba8e
Adapt cherry-picked 2dd188fa18abff3193450472af2192206907b3ba to the new output shell switch.
2012-11-16 18:01:01 +00:00
Pedro Algarvio
ee32784bb4
Make the salt-cp
shell test case work across multiple machines.
2012-11-16 18:00:51 +00:00
Thomas S Hatch
61c72dd2de
Merge pull request #2576 from s0undt3ch/issues/2566
...
Deprecate `--xxx-out` in favour of `--out/--output`
2012-11-15 21:25:21 -08:00
Pedro Algarvio
c60e4dd645
Fix tests and "convert" text output to "txt" when choosing outputter.
2012-11-16 00:07:08 +00:00
John Debs
4a062f1e69
Logic and test fixes for version, ri, rdoc support in gem state
2012-11-15 18:05:06 -05:00
Thomas S Hatch
c3c61b835a
Merge pull request #2555 from ryanschneider/cp.get_dir
...
Add gzip and template to cp.get_dir, expose make_dirs on cp.get_file
2012-11-14 18:22:09 -08:00
Ryan Schneider
2ccf589425
Refactor: make_dirs -> makedirs, gzip_compression -> gzip
2012-11-14 18:06:53 -08:00
Ryan Schneider
ad1a43012a
Add gzip and template to cp.get_dir, expose make_dirs on cp.get_file
2012-11-14 16:48:26 -08:00
Pedro Algarvio
e390bd92f4
Fix raw outputter test.
2012-11-15 00:03:31 +00:00
Pedro Algarvio
97b4dffd85
Re-add required import.
2012-11-14 16:03:46 +00:00
Thomas S Hatch
326904e020
An easy fix on opening files
2012-11-13 20:55:40 -07:00
Thomas S Hatch
48fd305391
Merge pull request #2544 from kjkuan/develop
...
sls_render_pipe merge clean ups
2012-11-13 19:29:39 -08:00
Pedro Algarvio
7c666d21d0
Need at least two worker threads for integration.modules.publish
to pass.
2012-11-13 19:10:17 +00:00
Jack Kuan
7f3ac3fe89
Add some docs on render pipe.
...
Also, added a stateconf state so that its stateconf.set function
can be used by the stateconf renderer.
2012-11-13 02:01:34 -05:00
Jack Kuan
a76331e0e1
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-11-13 00:58:04 -05:00
Thomas S Hatch
6fce0a2353
Minor fixes for stateconf tests and sting updates
2012-11-12 22:20:37 -07:00
Thomas S Hatch
5b1bd0409b
Clean up some missing componets in console.py
2012-11-12 21:08:04 -07:00
Jack Kuan
804f0ca671
Merge branch 'develop' of github.com:kjkuan/salt into develop
2012-11-12 18:40:57 -05:00
Thomas S Hatch
042b2490c6
Clean up console.py
...
SINGLE QUOTES
Bare exceptions are bad
vars being used without being assigned
2012-11-12 16:36:25 -07:00
David Boucha
4a2ceb458e
set worker threads to 1 for testing
...
Travis CI is failing on python 2.6
Trying to lower total memory consumption so the tests
will pass
2012-11-12 16:22:05 -07:00
Jack Kuan
db451d5ed3
Update jinja template unit tests and remove obsolete salt.utils.jinja.get_template().
2012-11-12 17:08:14 -05:00
Thomas S Hatch
5d97b51ef2
Merge pull request #2528 from kjkuan/sls_render_pipe
...
Sls render pipe
2012-11-12 09:59:24 -08:00
Jack Kuan
7ad98acfb4
Fix stateconf unit test and the problem with sls_dir==''.
2012-11-12 00:50:46 -05:00
Jack Kuan
8cb70d0a6e
Update stateconf renderer module doc and revert names declaration support.
2012-11-12 00:16:03 -05:00
Pedro Algarvio
152088d727
Include another option into the test_salt_documentation_arguments_not_assumed
test.
2012-11-11 20:11:08 +00:00
Jack Kuan
0931455721
Merge branch 'develop', remote-tracking branch 'origin' into sls_render_pipe
2012-11-10 23:06:14 -05:00
Pedro Algarvio
d3e0d64068
Show a nice clock counter while we wait for the sync job to finish.
2012-11-09 15:25:16 +00:00
Pedro Algarvio
527cf4ee38
Don't assume again and expand test.
...
* When introducing the "Don't assume!" changes I also assumed that there were always more than one argument from the shell. Expanded the testcase to include this check.
2012-11-09 11:32:36 +00:00
Pedro Algarvio
75f70e49f3
Include a test case for the previous "Don't assume!" commit.
2012-11-09 11:23:30 +00:00
Thomas S Hatch
67f3395627
Merge pull request #2492 from ryanschneider/cp.get_file-gzip
...
Add gzip_compression support to cp.get_file
2012-11-08 17:49:41 -08:00
Ryan Schneider
c638617612
Add gzip_compression support to cp.get_file
2012-11-08 16:09:38 -08:00
Pedro Algarvio
b7c763dec1
Improve salt.utils.build_whitepace_splited_regex()
. Fixes #2379 .
...
* Although we're building a regex which should ignore white space and new lines, the built regex should always match start and end of string.
2012-11-08 19:33:51 +00:00
Jack Kuan
6c13f876b2
Merge branch 'develop', remote-tracking branch 'origin' into sls_render_pipe
2012-11-08 10:31:23 -05:00
Pedro Algarvio
b50e4cb9c5
Improve salt.utils.contains_regex()
. Fixes #2401 .
...
* When `re.search`'ing, do a `re.MULTILINE` search. Not all matches happen on first line, specially using the `BufferedReader`.
* PEP-8 fixes.
* Removed `rowname` from `salt.utils.mysql_to_dict()` since it was not being used.
2012-11-08 12:47:19 +00:00
Jack Kuan
f1c49d6efd
Minor update to a test case.
2012-11-08 02:00:54 -05:00
Jack Kuan
f921e91377
Add unit tests for the stateconf renderer.
...
Also fixed a few bugs in the stateconf renderer.
2012-11-08 01:46:03 -05:00
Thomas S Hatch
ec901ce29c
Merge pull request #2463 from s0undt3ch/issues/2462
...
Fix #2462
2012-11-07 08:12:49 -08:00
Pedro Algarvio
cae00911a5
One more try to properly handle the process termination.
2012-11-07 14:10:02 +00:00
Pedro Algarvio
b4f2ad2884
Never fail on process.terminate()
since the process is supposed to have ended.
2012-11-07 13:58:44 +00:00
Pedro Algarvio
8e9fd09eeb
Try to cleanup after ourselves.
...
* Only instantiate a `LocalClient` on a test if one is required.
* Try to precipitate garbage collection on our minions connect and sync multi-processes.
2012-11-07 13:40:39 +00:00
Ryan Schneider
721bce0a11
Fixed integration test
2012-11-06 19:36:51 -08:00
Ryan Schneider
49fb321254
Add integration test
2012-11-06 19:36:51 -08:00
Pedro Algarvio
c5c637154a
Try to get some system information out of Travis-CI.
2012-11-06 18:11:26 +00:00
Pedro Algarvio
af7ebf12f8
Try not to fail on travis-ci under python 2.6
...
* Raised max open files by 1024 since running in a vagrant machine 2048 was not enough, though, I think travis-ci defaults to a higher value.
* Wait a bit longer on the events testing.
* Separated the initial minions connected and minions synced into two different events and functions. Also corrected the `if` expected value when a timeout occurs.
2012-11-06 16:02:36 +00:00
Pedro Algarvio
e04c872c66
Convert the remaining tests hard-coding temporary paths.
2012-11-06 12:44:53 +00:00