Commit Graph

1848 Commits

Author SHA1 Message Date
Peter Baumgartner
4c515558cf Adds Nginx status module 2014-01-29 14:17:43 -07:00
Thomas S Hatch
ae16ed9c58 Merge pull request #10019 from galet/file-extract-hash-tests
Added test for salt.modules.file.extract_hash() to verify support for simple Maven checksum file format
2014-01-29 07:50:15 -08:00
Thomas S Hatch
94a6b01522 Merge pull request #10011 from makinacorpus/fix10010
display full jinja traceback when applicable
2014-01-29 07:41:29 -08:00
Michal Galet
7394c2fd2a Added test for salt.modules.file.extract_hash() to verify support for simple Maven checksum file format. 2014-01-29 11:57:47 +00:00
Mathieu Le Marec - Pasquet
a6b3bf4167 Lint fix 2014-01-29 02:43:19 +01:00
Mathieu Le Marec - Pasquet
688abda402 display full jinja traceback when applicable
This fixes #10010
2014-01-29 02:04:12 +01:00
Mathieu Le Marec - Pasquet
165b5e4af2 Handle better state errors
This fixes #9983.
2014-01-28 16:01:34 +01:00
Alexey Ivanov
d23ff3821e
codespell: grammar nazi
Run codespell[1] against sources.

[1] https://github.com/lucasdemarchi/codespell
2014-01-26 18:41:28 -08:00
Seth de l'Isle
30e9864d66 Removed the mock for config.manage_mode which doesn't seem to be necessary
for any tests to pass but was causing most of the failures for my previous
commit.

Coerced several values to string representations of octal where before they
were sometimes strings and sometimes ints.
2014-01-25 10:51:50 -05:00
Mathieu Le Marec - Pasquet
276e92c4ea postgres: fix password encryption handling 2014-01-24 14:01:14 +01:00
Mathieu Le Marec - Pasquet
3fa92b49fb postgres: Pylint
This fixes #9920
2014-01-24 14:01:13 +01:00
Thomas S Hatch
99caa290fc Merge pull request #9897 from arthurlogilab/develop
add user options to salt-key and to tests/minionswarm.py so one can run ...
2014-01-23 09:14:44 -08:00
Thomas S Hatch
6b09f5b8fd Merge pull request #9831 from makinacorpus/pgsql
[need review] PGSQL state/mod improvments
2014-01-23 09:07:59 -08:00
Arthur Lutz
0cad68c59d add user options to salt-key and to tests/minionswarm.py so one can run in userland 2014-01-23 12:44:14 +01:00
Mathieu Le Marec - Pasquet
b8885f8faf buildout: protect against unicodeerrors 2014-01-23 01:11:19 +01:00
Pedro Algarvio
0c9bf6e5fc Merge pull request #9813 from kaithar/feature/fix-impossible-permissions-test
config.manage_mode(): Changing zfill(3) to zfill(4) so that we get '0700' instead of '700'
2014-01-22 09:12:15 -08:00
Mathieu Le Marec - Pasquet
7039b4c974 postgres: support for extensions 2014-01-21 19:25:35 +01:00
Mathieu Le Marec - Pasquet
47c20d2371 postgres: Group and user managment refactoring:
- stick to postgresql create/alter role
    - handle and detect correctly all roles updates
    - again a whole set of factorization
2014-01-21 19:25:35 +01:00
Pedro Algarvio
74ef6ab26a Fix the syndic test 2014-01-20 15:50:51 +00:00
Pedro Algarvio
1c399660a9 Provide a path which should fail. 2014-01-20 13:12:57 +00:00
Pedro Algarvio
8a84079848 Test expected outout and raise expected errors if syslog is not available. 2014-01-20 11:24:54 +00:00
Pedro Algarvio
b8d45673d5 Adapt to expected output 2014-01-20 11:09:56 +00:00
Pedro Algarvio
a8a8f38ea4 Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Pedro Algarvio
a9429d8b18 Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Pedro Algarvio
26a8572b7e Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Pedro Algarvio
c6de2adb31 Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Pedro Algarvio
05b2636cd5 Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Pedro Algarvio
a5f2286960 Fix unit test expected results since we now exit with an error code. 2014-01-19 16:16:49 +00:00
Daniel Bradshaw
b89ca9e9e7 Attempt to correct test failing due treating 0755 as octal but passing it as decimal. 2014-01-17 22:49:36 +00:00
Daniel Bradshaw
3896313436 Changing zfill(3) to zfill(4) so that we get '0700' instead of '700'
There is a possibility of this causing regressions, it will work correctly where both params are passed through it or where it's being compared with stat() output.  If there is code expecting a '700' style permission it will fail.  Realistically, '0700' is correct so the other code needs to be fixed.
2014-01-17 21:09:35 +00:00
Pedro Algarvio
96d324a6a4 Merge pull request #9791 from makinacorpus/fix_buildout
buildout stuff
2014-01-17 05:53:44 -08:00
Erik Johnson
18a4c95f46 whitelist expand_repo_def in test_valid_docs 2014-01-16 22:40:22 -06:00
Mathieu Le Marec - Pasquet
1f39bcfcb4 Fixing tests 2014-01-17 01:59:11 +01:00
Amir Pakdel
421a6200bf Fixed pylint and unit test errors 2014-01-16 09:56:52 -05:00
Pedro Algarvio
2e9e3281cd Merge pull request #9737 from s0undt3ch/hotfix/testing-output-columns
Prepare the code to support passing the colums to use in output
2014-01-16 04:09:13 -08:00
FELD Boris
43889c7d79 Add a test for git states support of numeric revision 2014-01-15 17:20:08 +01:00
regilero
e778386f41 MySQL: fix unit test module db_exists check, error is in the test. 2014-01-15 15:59:37 +01:00
Pedro Algarvio
b45900e903 Remote empty lines 2014-01-14 16:15:08 +00:00
Pedro Algarvio
59573953b5 Also prepare runtests.py 2014-01-14 15:25:07 +00:00
Pedro Algarvio
ff75e49c86 Prepare the code to support passing the colums to use in output 2014-01-14 15:16:30 +00:00
Pedro Algarvio
4221499b59 Some systems do not have the python binary 2014-01-14 14:10:33 +00:00
Pedro Algarvio
61e217f894 Skip if the tar binary is not found. 2014-01-14 12:36:36 +00:00
Pedro Algarvio
ab6d7d8029 Skip test if the which binary is not available 2014-01-14 12:30:18 +00:00
Pedro Algarvio
106c44587e Merge pull request #9701 from s0undt3ch/hotfix/ssh-binaries
Skip the tests if binaries are missing.
2014-01-11 14:47:14 -08:00
Pedro Algarvio
44bdfee0a3 Merge pull request #9700 from s0undt3ch/hotfix/no-hardcoded-virtualenv-bin
no hardcoded virtualenv bin
2014-01-11 14:46:52 -08:00
Pedro Algarvio
2bb11d24b9 Skip the tests if binaries are missing. 2014-01-11 14:38:17 -07:00
Pedro Algarvio
8268b7b532 Ignore it PyLint!!! 2014-01-11 21:35:18 +00:00
Pedro Algarvio
5642db5032 Simplify the code 2014-01-11 21:20:42 +00:00
Pedro Algarvio
a5a791695c Import from the right module. 2014-01-11 21:12:03 +00:00
Pedro Algarvio
bdec26f812 Tell Pylint to ignore these imports. 2014-01-11 21:01:58 +00:00