Colton Myers
8c1fa5358e
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
salt/modules/debian_ip.py
salt/modules/file.py
salt/states/ssh_auth.py
salt/utils/cloud.py
2015-03-09 11:50:21 -06:00
Viet Hung Nguyen
2a845989b7
bugfix: fix test mode in ssh_known_hosts
...
- present func: should not require key/fingerprint.
In normal mode, key AND fingerprint can be omitted but
test mode requires them, so fix the test mode to behave same
way.
- absent function: return correct ret when change suppose to be made.
- refactor a bit.
2015-03-07 00:58:32 +07:00
Mike Place
09d3d62174
Loosen test constraint and update runas arg
2015-01-24 03:16:50 +00:00
Mike Place
e7d959b6a5
Even MORE test fixing
2015-01-24 03:16:50 +00:00
Mike Place
7222d741de
Even more pip test fixing
2015-01-24 03:16:50 +00:00
rallytime
69d7a6ebd0
Pylint fixes for the 2015.2 branch
2015-01-23 10:57:18 -07:00
Mathias Gug
4670988a68
Fix style.
2015-01-22 14:41:05 -07:00
Mathias Gug
3b285798e3
Fix style.
2015-01-22 14:40:58 -07:00
Mathias Gug
dd097b730d
Fix style issues.
2015-01-22 14:40:49 -07:00
Mathias Gug
4542072c4e
Add boto_sns module and state.
...
Include integration tests.
2015-01-22 14:40:32 -07:00
Pedro Algarvio
9d0fe5b1d1
Merge branch '2014.7' into 2015.2
...
Conflicts:
salt/modules/brew.py
tests/integration/__init__.py
2015-01-11 22:40:16 +00:00
rallytime
d6b3f69c19
Cleaner and actual fix for the failing weird pip test for CentOS 5
2015-01-09 13:10:09 -07:00
rallytime
4e87557748
--local is not available in older versions of git
...
Also adjust the tests:
subprocess.check_output is only available in python 2.7
2015-01-07 11:56:43 -07:00
rallytime
fe4fd7a5a3
Use skip_if_binaries_missing decorator
2015-01-07 10:11:26 -07:00
Colton Myers
f6eae029f0
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
pkg/windows/installer/Salt-Minion-Setup.nsi
salt/grains/core.py
salt/minion.py
salt/modules/mongodb.py
salt/states/archive.py
salt/states/mount.py
salt/utils/master.py
salt/utils/schedule.py
salt/utils/thin.py
tests/jenkins-ng.py
2015-01-06 13:14:27 -07:00
rallytime
f6243f0b80
Fix the test in the correct place...
2015-01-05 15:36:45 -07:00
rallytime
4a62c2b860
Fix pip state test failure
2015-01-05 15:20:18 -07:00
Mike Place
7ff6c22b9b
Remove deprecated tests
2014-12-19 11:37:56 -07:00
Colton Myers
43df12b6cc
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/client/ssh/shell.py
salt/modules/file.py
tests/integration/states/file.py
2014-12-18 10:32:19 -07:00
Elias Probst
a2e52dd5fc
Fix tests for #18841 .
2014-12-18 01:51:08 +01:00
Elias Probst
6363aa22ac
Add integration tests for 'modules.file.replace()'.
2014-12-17 12:06:58 +01:00
Pedro Algarvio
bfe99dbb3f
Merge branch '2014.7' into develop
...
Conflicts:
salt/cloud/__init__.py
salt/modules/file.py
salt/modules/zcbuildout.py
salt/runners/lxc.py
salt/runners/manage.py
2014-11-26 20:14:56 +00:00
Pedro Algarvio
89befb8827
Switch open()
for salt.utils.fopen()
2014-11-26 18:02:24 +00:00
Pedro Algarvio
b5cda75a8c
Switch open()
for salt.utils.fopen()
2014-11-26 18:01:35 +00:00
Pedro Algarvio
ea717d2422
Switch open()
for salt.utils.fopen()
2014-11-26 17:59:52 +00:00
Thomas S Hatch
873d1c1803
Merge pull request #18221 from multani/fix/git-config-set-shell-escape
...
Fix Git's config set with values containing white spaces.
2014-11-18 17:14:43 -07:00
Jonathan Ballet
38bb70d398
Fix Git's config set with values containing white spaces.
...
The Salt function 'git.config_set' and the state 'git.config' (which relies
on the former) don't escape the value to be set in the configuration file
passed by Salt. For example, this doesn't work:
mylocalrepo:
git.config:
- name: user.name
- value: "Jonathan Ballet"
- repo: file://my/path/to/repo
This set the 'user.name' configuration value to "Jonathan" only.
(Additionally, the state discovers that the value set is not the one
specified, and keeps trying to set the right value, which ends up with lot
of "name = Jonathan" into the "[user]" section of Git's config file.)
This commit fixes the problem and adds some unit tests to verify it's
working properly.
2014-11-18 20:02:24 +01:00
Mike Place
c1c9245e89
Fixup test failures
2014-10-28 11:29:59 -06:00
Mike Place
e18190bc04
remove sed test
2014-10-27 18:22:18 -06:00
Erik Johnson
ff6a228746
Remove reference to nonexistant function in pkg tests
...
This fixes a ref that was missed in 7984a8c
.
2014-08-27 13:52:36 -05:00
Seth House
11f4e20bd8
Fix incorrect call to state.single in npm pkgs test
2014-08-11 11:03:00 -04:00
Seth House
ed4bb5119e
Added pkgs support to the npm module/state
2014-08-07 12:36:39 -04:00
rallytime
6be33dcdc9
Change install package to help Arch tests pass
2014-08-05 14:35:32 -06:00
C. R. Oldham
253de7a995
PyLint fix.
2014-07-25 12:48:07 -06:00
C. R. Oldham
f53e477735
Merge commit, resolve conflict
2014-07-25 11:16:22 -06:00
C. R. Oldham
c94808689d
Extend dot-in-pkg test to RHEL 5 as well
2014-07-25 10:57:18 -06:00
Thomas S Hatch
288e9bba29
TABS?!?!? Really @cro ??
2014-07-25 10:39:19 -06:00
C. R. Oldham
b6f70ac80f
Make this test check for diff packages on RHEL/Centos 6 vs 7
2014-07-24 19:09:52 -04:00
Erik Johnson
2939eaec15
Clean up filehandle usage in file state tests
...
This does a few things:
1. Change calls to open() to use salt.utils.fopen()
2. Use with blocks where applicable
2014-07-14 21:23:06 -05:00
Erik Johnson
f847bae5a2
Add tests for templating local files
2014-07-14 21:23:06 -05:00
Mike Place
a08849c270
Remove old-style env= tests.
2014-07-14 11:03:03 -06:00
Pedro Algarvio
5283fa661e
Adapt tests to behaviour introduced in #13333
2014-06-10 03:00:19 +01:00
Pedro Algarvio
0b6776ad81
Maintain old test behaviour(no new lines added)
2014-06-10 02:32:22 +01:00
Pedro Algarvio
df3e06ddd7
Test needs root perms
2014-06-10 01:56:24 +01:00
Pedro Algarvio
c6aa49c325
Fix PEP8 E713 - test for membership should be "not in"
2014-06-06 11:26:40 +01:00
Pedro Algarvio
7bd8b1360f
Remove remaining exsel
code
2014-05-29 01:32:54 +01:00
Thomas S Hatch
b20462ad3f
Merge pull request #13037 from terminalmage/npm-test
...
add test for npm.installed/removed
2014-05-27 10:11:27 -06:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
Erik Johnson
da0546c6f4
add test for npm.installed/removed
2014-05-26 06:19:49 -05:00
Pedro Algarvio
5a8575dbb9
The helper method is now released
2014-05-20 10:53:47 +01:00