Dmitry Kuzmenko
3b9c4d2b35
Fixed LoadAuthTestCase
2015-11-24 17:35:16 +03:00
Nicolas Delaby
e98d18ba41
Expose docker networking as state
2015-11-24 13:55:22 +01:00
Nicolas Delaby
17ff5c1ab5
Add expose networking to modules.dockerng
2015-11-24 13:55:22 +01:00
Weilu Jia
596843e8d6
Add test case for sls with only import
...
Tests https://github.com/saltstack/salt/issues/10852
2015-11-23 18:27:56 -08:00
Weilu Jia
64e439cda2
Add test for infinite recursion with sls prerequisites
2015-11-23 09:12:06 -08:00
Mike Place
b06f4b25cd
Merge pull request #29054 from jtand/file_test
...
Adjusted the expected output to match the actual results
2015-11-20 08:51:33 -07:00
Christophe Drevet-Droguet
89e7578d21
loader test for external grains deep merge (non-functional)
...
This test is disabled until we have a way to reload the minion, or
just the custom grains, with the grains_deep_merge option set.
2015-11-20 08:44:29 +01:00
Mike Place
714ef8ff27
Merge pull request #29057 from lyft/file-manage-local-source-list
...
Add local file support for file.managed source list
2015-11-19 14:57:34 -07:00
Mike Place
30d0e7a0c2
Merge pull request #29008 from k00mi/develop
...
Make systemd service state less slow
2015-11-19 14:54:48 -07:00
justinta89
64a62662ef
Added sys import
2015-11-19 14:42:15 -07:00
Justin Findlay
401e4bfd33
file state: integration test difflib version check
2015-11-19 14:10:29 -07:00
Justin Findlay
9a4959a42b
systemd module: new unit test for available
2015-11-19 13:29:08 -07:00
Mike Place
b692ab1cfb
Merge pull request #29047 from schwing/fix-gpg-exception
...
Fix salt.modules.gpg.import_key exception: 'GPG_1_3_1 referenced before assignment'
2015-11-19 12:07:36 -07:00
justinta89
f947e1e549
Adjusted the expected output to match the actual results
2015-11-19 11:32:18 -07:00
John Schwinghammer
813f6e6808
Fix 'GPG_1_3_1 referenced before assignment'
...
- Fix gpg.import_key() exception:
"local variable 'GPG_1_3_1' referenced before assignment"
- Update the unit tests to test both the gpg.GPG_1_3_1=True and
gpg.GPG_1_3_1=False cases.
2015-11-19 09:27:46 -06:00
Mike Place
83e50d2515
Merge pull request #28906 from TronPaul/configparser-serializer
...
Configparser serializer
2015-11-18 19:42:52 -07:00
Paul Fisher
d175061c5d
Add tests for file.source_list with local files
2015-11-18 15:55:44 -08:00
Justin Findlay
0c0bce3ea6
cache runner test: add new unit tests
2015-11-18 16:33:46 -07:00
Christophe Drevet-Droguet
f13e9435b1
loader test for custom grains
2015-11-18 22:08:24 +01:00
Mike Place
b386bfa59d
Merge pull request #28952 from rominf/hg_status_multiple_repos
...
[modules/hg] hg.status: multiple repositories
2015-11-18 11:35:29 -07:00
Colton Myers
d76d62877d
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/modules/git.py
salt/renderers/gpg.py
salt/utils/__init__.py
2015-11-17 16:24:43 -07:00
Mark McGuire
f0a60b33e2
Use changes in #28926
2015-11-17 10:54:19 -06:00
Mark McGuire
be2751885d
Merge remote-tracking branch 'origin/develop' into configparser-serializer
2015-11-17 10:26:09 -06:00
Roman Inflianskas
ded2d46663
[modules/hg] hg.status: multiple repositories
2015-11-17 19:05:57 +03:00
Mike Place
1e9214f4e4
Merge pull request #28787 from chrigl/fix-28784
...
closes #28784
2015-11-17 08:54:04 -07:00
Mike Place
5b680c938a
Merge pull request #28950 from DSRCompany/pr/28812_which
...
PR 28812 which test fix
2015-11-17 08:32:16 -07:00
Dmitry Kuzmenko
18571000c5
Fix which test in PR#28812
2015-11-17 11:29:41 +03:00
Christoph Glaubitz
8639e3e9c3
closes #28784
...
In fact this test will fail on the current code, but that is like
intended. This tests the fix of #28783 , which was introduced in 2015.5.
2015-11-16 20:30:37 +01:00
Mike Place
27b917b623
Adjust tests for new loader spec
2015-11-16 12:23:05 -07:00
Justin Findlay
5ce61abf57
rewrite GPG unit tests
2015-11-16 09:36:29 -07:00
Mark McGuire
4324189658
add deserializer test, fix deserialization
2015-11-15 14:14:42 -06:00
Mark McGuire
53dd9ae138
Add configparser serializer
...
* move "python" serializer to serializers
* make salt.states.file.serializer load serializers from salt.serializers
2015-11-15 14:04:27 -06:00
Justin Findlay
e32a9aab85
rh_service._chkconfig_is_enabled unit tests
2015-11-13 23:38:40 -07:00
Colton Myers
efb479a1bd
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/topics/cloud/vmware.rst
salt/cloud/clouds/vmware.py
salt/grains/chronos.py
salt/grains/marathon.py
salt/loader.py
salt/modules/chronos.py
salt/modules/marathon.py
salt/proxy/chronos.py
salt/proxy/marathon.py
salt/state.py
salt/states/chronos_job.py
salt/states/marathon_app.py
salt/states/user.py
salt/utils/schedule.py
2015-11-13 15:18:45 -07:00
Mike Place
785bf94f55
Add transport setting to shell test
2015-11-12 14:32:39 -07:00
Mike Place
8d3244166b
Cast to dict to fix wheel tests in tcp
2015-11-12 12:21:52 -07:00
Colton Myers
224602437a
Merge pull request #28804 from cachedout/tcp_test_fixes
...
TCP test fixes
2015-11-12 11:39:25 -07:00
Todd Tomkinson
ba94878f45
marathon and chronos proxy minions
2015-11-12 10:03:38 -07:00
C. R. Oldham
2ad01fe7a2
Merge pull request #28778 from toddtomkinson/marathon_chronos_proxy_minions
...
marathon and chronos proxy minions
2015-11-12 08:07:21 -07:00
Mike Place
9b18f372e6
Normalize IPC check among transports
2015-11-11 16:26:32 -07:00
twangboy
c0cf33332c
Fixed some Lint...
2015-11-11 14:27:06 -07:00
Justin Findlay
bc7e0cfe64
add file.symlink unit tests
2015-11-11 13:37:47 -07:00
Justin Findlay
9381dc7215
orthogonalize file.symlink unit tests
2015-11-11 13:37:18 -07:00
rallytime
e2b0fee57e
Don't change perms list, only existing perms should be a dictionary.
...
Refs #28269
2015-11-11 12:31:51 -07:00
rallytime
7601647d69
Revert "rabbitmq.list_user_permissions returns a dict, not a list. Don't expect a list."
...
This reverts commit 07482211eb
.
2015-11-11 12:23:17 -07:00
Todd Tomkinson
f6ccc0e250
marathon and chronos proxy minions
2015-11-11 10:51:28 -07:00
rallytime
07482211eb
rabbitmq.list_user_permissions returns a dict, not a list. Don't expect a list.
...
Refs #28269
2015-11-11 09:45:35 -07:00
Scott Walton
e9b84b35b4
Resolved merge conflict with upstream.
2015-11-11 16:38:31 +00:00
Scott Walton
e46d31d446
Amended the tests to remove the tab-check and still keep #28608 fixed
2015-11-11 16:32:56 +00:00
Colton Myers
87365212b4
Merge pull request #28723 from basepi/merge-forward-develop
...
Merge forward from 2015.8 to develop
2015-11-10 11:26:29 -07:00
Mike Place
590f503fb8
Merge pull request #28748 from tinyclues/cors_url_with_arguments
...
[Saltnado] - Add support for CORS preflight request for parametrized urls
2015-11-10 11:24:30 -07:00
FELD Boris
049815fb34
Add support for cors preflight request for parametrized urls
...
The implementation was broken for jobs and minions handlers
2015-11-10 18:37:03 +01:00
Colton Myers
8a23181dd7
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/modules/boto_secgroup.py
salt/modules/rabbitmq.py
salt/modules/win_system.py
salt/modules/yumpkg.py
salt/states/mount.py
2015-11-09 17:05:43 -07:00
Colton Myers
c90431eddc
Rip out unit test that doesn't apply anymore
...
We now use -q with the command so we don't have to test our ability to
strip "Listing vhosts" out of the test
2015-11-09 15:22:01 -07:00
Mike Place
26fd2bc89e
Merge pull request #28215 from s0undt3ch/features/signal-handling
...
Proper signal handling
2015-11-09 12:11:15 -07:00
Mike Place
759242a6ec
Merge pull request #28671 from jfindlay/multi_mod
...
implement multiple modules in the kmod state
2015-11-07 19:11:52 -07:00
Justin Findlay
8524281f4e
update kmod exec and state module unit tests
2015-11-07 16:04:23 -07:00
Steve Hajducko
455f40b0d2
Refactor etcd modules
...
The etcd modules were using bits and pieces of python-etcd directly and
were using outdated exceptions to catch errors. These errors were
causing issues when trying to use etcd modules for logic.
A summary of changes
- Most of the 'work' is now done in etcd_util
- Removed import of python-etcd from states/etcd_mod and the
returner
- Added new tests for etcd_util
- Put in proper exceptions and catches for python-etcd
- Added support for ValueError catching. python-etcd doesn't
support python 2.6 and raises ValueError when trying to format
exceptions
- Added watch function to etcd execution module
- Added autospec to unit tests so hopefully less brittle
- Added TTL and directory features to the set function
*BACKWARDS INCOMPATIBLE CHANGES*
All interfaces are still backwards incompatible. However, the returns
from several of the etcd util functions have been changed. The old
returns presented issues with certain test cases. For instance, a
failed 'get' returned '', but a key with no value will also return ''.
The same issues occured with the 'ls', 'tree' and 'set' functions. Trying to
ls a blank directory returned the same result as a failed ls of a
non-existent key.
2015-11-06 16:29:50 -08:00
rallytime
cded9ac01d
Merge branch '2015.8' into 'develop'
...
Conflicts:
- salt/cloud/clouds/vmware.py
- salt/modules/freebsdpkg.py
- salt/modules/virtualenv_mod.py
- salt/states/boto_asg.py
- tests/integration/__init__.py
- tests/runtests.py
2015-11-06 09:34:31 -07:00
Pedro Algarvio
058cd00aea
Name some more runtests daemon processes
2015-11-06 13:15:12 +00:00
Pedro Algarvio
9dc5533fae
Name the test daemon processes for ps output
2015-11-06 13:15:12 +00:00
Scott Walton
540305dc99
Added test and fix for #28608 .
2015-11-06 09:06:07 +00:00
Mike Place
81396927f8
Merge pull request #28605 from zigarn/a2xxconf
...
Improvements on Debian-style apache utilities a2(en|dis)(mode|site|conf)
2015-11-05 15:18:28 -07:00
Nicole Thomas
b5a89927f0
Merge pull request #28594 from rallytime/merge-develop
...
Merge branch '2015.8' into develop
2015-11-05 14:47:42 -07:00
Alexandre Garnier
f505b51ab1
Add module and state wrappers on a2enconf
/a2disconf
2015-11-05 19:07:14 +01:00
rallytime
62d688d720
Fix mock patch module name
2015-11-05 10:45:30 -07:00
rallytime
3bcd068f6a
Update cloud vmware unittests to utilize the salt.utils.vmware.py file
2015-11-05 10:02:05 -07:00
Alexandre Garnier
2e6cf66d80
Add apache_site
state (like apache_module
)
...
Allow to enable/disable Debian-style sites with `a2ensite`/`a2dissite`.
2015-11-05 17:52:42 +01:00
Alexandre Garnier
39e1e6448b
Simplify deb_apache.check_mod_enabled
...
There is no 'default' with '000-' prefix for modules.
(Looks like a copy/paste from `check_site_enabled`)
2015-11-05 17:52:42 +01:00
Mike Place
9a08e4c1dd
Merge pull request #28562 from jirikotlin/develop
...
Test True support for INI state module.
2015-11-05 09:01:50 -07:00
Mike Place
5293150d25
Fix tests
2015-11-05 08:29:55 -07:00
Jiri Kotlin
eb19140cc5
INI test compliancy - modified ini_manage_test.py
2015-11-05 13:49:05 +00:00
rallytime
eec9d69387
Merge branch '2015.5' into '2015.8'
...
Conflicts:
salt/modules/virtualenv_mod.py
salt/states/file.py
tests/integration/__init__.py
2015-11-04 15:52:59 -07:00
rallytime
d31b0d1573
Merge branch '2015.8' into develop
2015-11-04 15:40:03 -07:00
Mike Place
7ca7ed4b37
Merge pull request #28579 from jfindlay/virt_ret
...
fix __virtual__ returns: tls,uptime mods
2015-11-04 15:00:02 -07:00
Justin Findlay
333c132378
fix __virtual__ returns: tls,uptime mods
2015-11-04 13:10:38 -07:00
Mike Place
ec924e8410
Merge pull request #28560 from bdrung/2015.8
...
Fix various typos
2015-11-04 08:06:36 -07:00
Mike Place
bdd5274c55
Merge pull request #28505 from plastikos/improvement-minio_process_grains
...
Add grains/minion_process.py - grains describing the minion process
2015-11-04 07:40:05 -07:00
Benjamin Drung
470e82f17f
Fix typo an dictionnary -> dictionary
2015-11-04 11:06:09 +01:00
Justin Findlay
11a9a5868f
simplify timezone module unit test mocks
2015-11-03 19:37:54 -07:00
Justin Findlay
476b651c94
update timezone module unit tests for timedatectl
2015-11-03 19:34:01 -07:00
Thayne Harbaugh
3bedbb713b
Use "test.versions" instead of "-g" (pid in grains changes).
...
integration.shell.call.test_issue_15074_output_file_append test just needs any
output that is repeatable. Previously it used the grains output ("-g"
argument). Unfortunately grains now includes the PID which changes for each
invocation of "salt-call" and is therefore not predictably comparable. Use
"test.versions" that should have constant output across multiple invocations.
2015-11-03 14:10:37 -07:00
twangboy
0da6ff7c50
Fixed some logic
2015-11-03 10:09:49 -07:00
Thayne Harbaugh
ab09d08c99
Expand test integration.modules.grains to check for new minion process grains.
2015-11-03 00:14:32 -07:00
Colton Myers
422c641233
Remove test failing because of mocks -- it's deprecated anyway
2015-11-02 19:42:01 -07:00
Colton Myers
32969b2408
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/topics/cloud/digitalocean.rst
salt/cloud/clouds/digital_ocean.py
salt/cloud/clouds/linode.py
salt/loader.py
salt/modules/blockdev.py
salt/modules/boto_route53.py
salt/modules/boto_vpc.py
salt/modules/bsd_shadow.py
salt/modules/file.py
salt/modules/rabbitmq.py
salt/modules/schedule.py
salt/modules/win_network.py
salt/runners/state.py
salt/spm/__init__.py
tests/unit/modules/blockdev_test.py
2015-11-02 18:19:01 -07:00
twangboy
7d39091c91
Fixed some more lint
2015-11-02 16:51:16 -07:00
twangboy
cf1e059be5
Fixed windows tests
2015-11-02 16:16:22 -07:00
twangboy
3dbd62af2c
Fixed some tests... hopefully
2015-11-02 16:13:07 -07:00
Colton Myers
238411c8ce
Merge pull request #28464 from basepi/merge-forward-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2015-11-02 13:18:21 -07:00
Colton Myers
6f6e687cb4
Mock master_uri for even tests
2015-11-02 12:15:53 -07:00
Mike Place
da62fdc1e7
Merge pull request #28498 from rominf/postgres-quotes
...
[modules/postgres] quote identifiers in SQL
2015-11-02 12:11:57 -07:00
Roman Inflianskas
0184ecaba7
[modules/postgres] fix tests
2015-11-02 20:53:18 +03:00
Mike Place
7c81188f67
Merge pull request #28421 from rominf/service_run
...
[modules/service] Add run function to run services with custom arguments
2015-11-02 10:43:54 -07:00
Christophe Drevet-Droguet
eee2318873
grains state: allow deleting grain with 'False' value
...
and destroy a grain previously set to None, with destructive=True:
The f46722aaeb
commit, from Bruno Binet <bruno.binet@gmail.com> was
effectively reverted during my work on nested and complex values support.
This commit get it back, plus the ability to destroy a existing grain that
was previously set to None, plus tests for these.
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
576252da05
grains state: list_present, list_absent support nested grain
...
... and custom delimiter
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
62a1f37d86
grains state: nested support for grains.append
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
c19cff517a
grains state: more tests
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
cc844e4a2c
grains state tests: test the grain file content as well
...
It may be overkill, but I'm nervous about this change and
I don't want to mess with the grain file of a lot of people
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
1c5cd4c82d
grains state: changes comment more accurate
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
c63913e602
grains module: simpler comment for already set key
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
6b8c245b87
grains state: new tests for nested grains
2015-11-02 09:31:43 -05:00
Andreas Lutro
a772ce330a
fix tests
2015-11-02 10:50:51 +01:00
Daniel Hobley
e0060ac5e9
Replaced user with runas for cmd.run
2015-11-01 09:35:58 +01:00
Daniel Hobley
b6e27932c8
Added the ability to run adb as a specific user
2015-10-31 23:09:08 +01:00
Daniel Hobley
3d1552e9b9
Fixed a bug in adb beacon when the deamon starts up
2015-10-31 21:56:59 +01:00
Daniel Hobley
3fe0a7764b
Added beacon for adb devices
...
With this beacon you are able to get events when a device goes offline or goes missing from the minion
2015-10-31 21:06:58 +01:00
Roman Inflianskas
5d0ef71b3d
[tests/unit][modules/service] add service.run, fix service.*
2015-10-31 14:42:05 +03:00
Roman Inflianskas
6190d6699e
[modules/service] add service.run
2015-10-31 14:41:58 +03:00
Roman Inflianskas
233b9163a5
[tests/unit][modules/hg] add hg.status
2015-10-31 14:30:08 +03:00
Colton Myers
3286a5250f
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
doc/topics/installation/windows.rst
doc/topics/tutorials/pillar.rst
pkg/windows/installer/Salt-Minion-Setup.nsi
salt/modules/file.py
salt/modules/schedule.py
salt/pillar/git_pillar.py
salt/states/boto_route53.py
salt/states/pkg.py
tests/integration/modules/pillar.py
2015-10-30 16:05:26 -06:00
justinta89
7ca79f1f7b
Skipped wipefs test if wipefs does not exist on OS
2015-10-30 15:04:33 -06:00
Justin Findlay
9ec72ca724
fix file state unit tests for win symlink feature
2015-10-29 13:50:38 -06:00
Mike Place
558be2e033
Merge pull request #28352 from rominf/check_or_die_to_virtual
...
Replace all check_or_die to __virtual__
2015-10-29 13:41:33 -06:00
Mike Place
26e7875202
Merge pull request #28389 from kmshultz/fix-loader-tests
...
commit 7b262f8
missed one fix
2015-10-29 09:48:17 -06:00
Daniel Hobley
124c758587
Lint fixes
2015-10-29 15:53:31 +01:00
Daniel Hobley
8af9246c4c
Hostname is the same even if the characters are in different cases
...
- Windows likes to give you back a hostname in uppercase while you might want to specify it in lower case, this commit allows you to do that
2015-10-29 13:36:18 +01:00
Daniel Hobley
72db9026e1
Lint fixes
2015-10-29 12:02:14 +01:00
Daniel Hobley
a78aab3255
Added the ability to change the "hostname" on windows minions
2015-10-29 11:39:22 +01:00
Roman Inflianskas
e299fc3ff2
Replace check_or_die functions to __virtual__
2015-10-29 10:59:58 +03:00
Kent Shultz
73236b4ea8
commit 7b262f8
missed one fix
2015-10-28 17:18:01 -07:00
Matthias Erll
042314246f
Unit test for merging included pillars.
2015-10-28 21:45:26 +01:00
Mike Place
e9bdd746ab
Merge pull request #28349 from s0undt3ch/features/signal-handling-from-scratch
...
Proper signal handling - [Different approach]
2015-10-28 11:16:49 -06:00
Pedro Algarvio
7d9e310bc3
Shut up pylint
2015-10-28 14:24:44 +00:00
Pedro Algarvio
7b262f8bf7
Import 'integrations' not 'tests.integrations'
2015-10-28 14:24:44 +00:00
Matthias Erll
2f3f2d6f29
Consider each pillar match only once.
2015-10-28 13:56:44 +01:00
Erik Johnson
a44c8d8dab
Merge pull request #28270 from rallytime/refactor_rabbitmq_plugin_state
...
Refactor RabbitMQ Plugin State to correctly use test=true and format errors
2015-10-27 11:18:34 -06:00
Erik Johnson
4efd07eba5
Merge pull request #28269 from rallytime/refactor_rabbitmq_user_state
...
Refactor rabbitmq_user state to use test=True correctly
2015-10-27 11:17:42 -06:00
rallytime
9e40c3a6a6
Fine tuning and fix tests
2015-10-27 10:30:00 -04:00
rallytime
65fdb50246
Get the list indice to compart before looking at keys
2015-10-26 14:20:27 -04:00
rallytime
aebbcb88ea
Pylint fix
2015-10-26 14:10:34 -04:00
rallytime
19b8b868a3
Clean-up/fixes to rabbitmq_user state and test adjustments
2015-10-26 13:48:50 -04:00
Mike Place
5b7cc65b03
Merge pull request #27843 from jacksontj/concurrent
...
RequestContext
2015-10-26 09:00:54 -06:00
Mike Place
60fa510945
Merge pull request #28247 from DSRCompany/issues/27537_fix_depends_decorator
...
Issues/27537 fix depends decorator
2015-10-26 08:52:11 -06:00
rallytime
95defb87c5
Add test for availability_zone check to boto_vpc_tests
2015-10-26 10:15:29 -04:00
Mike Place
abe3003aed
Merge pull request #28204 from DSRCompany/issues/23157_rename_client_acl
...
Deprecate client_acl with publisher_acl (rename)
2015-10-26 08:04:56 -06:00
Dmitry Kuzmenko
435e8fc4d9
Fix tests: add module function docstring
2015-10-26 16:07:52 +03:00
Dmitry Kuzmenko
df2b40e854
Fixed @depends integration test
2015-10-26 16:07:52 +03:00
Mike Place
05ed7d0bdc
Merge pull request #28226 from plastikos/improvement-module_package_collision
...
Improvement module package collision
2015-10-26 07:04:47 -06:00
Mike Place
c8dd79d683
Merge pull request #28210 from terminalmage/legacy_git_pillar
...
Fix for ext_pillar being compiled twice in legacy git_pillar code
2015-10-26 06:36:58 -06:00
Erik Johnson
0d6a4ac115
Remove non-functional test
...
This test was written using an incorrect assumption that the
pillar_roots key created during git_pillar execution lives any longer
than the run that compiles the git_pillar data for a given git_pillar.
2015-10-24 17:39:16 -05:00
Erik Johnson
86f00e71bf
Remove non-functional test
...
This test was written using an incorrect assumption that the
pillar_roots key created during git_pillar execution lives any longer
than the run that compiles the git_pillar data for a given git_pillar.
2015-10-24 17:36:33 -05:00
Justin Findlay
0dc72135de
update blockdev exec and state module unit tests
2015-10-23 18:12:43 -06:00
Thomas Jackson
ff1ac70cd5
Python3 compat for context_test
2015-10-23 11:30:21 -07:00
Thomas Jackson
718cf64817
Pylint cleanup
2015-10-23 08:53:44 -07:00
justinta89
835a11b6be
Fixed win_firewall_test
2015-10-23 09:53:03 -06:00
Thomas Jackson
256a0e2af8
Rename and consolidate NUM_JOBs into a single class-wide variable
2015-10-23 08:43:46 -07:00
Thomas Jackson
3662465471
pylint cleanup
2015-10-23 08:40:56 -07:00
Thomas Jackson
408af9d419
Add Coroutine tests for the ContextDict
2015-10-23 08:31:37 -07:00
Dmitry Kuzmenko
022c8bdf7e
Fixed unit test
2015-10-23 17:26:15 +03:00
Dmitry Kuzmenko
7a5204ef02
Deprecate client_acl with publisher_acl (rename)
...
Keeping client_acl support
2015-10-23 11:59:40 +03:00
Thomas Jackson
6838a9534f
Initial addition of ContextDict
...
Inspired by #23373
The basic issue we ran into is that the loader is injecting globals directly into the global namespace. This means that these injected values are not thread or coroutine safe-- meaning we can never do more than one thing at a time. Instead of multiprocessing everything to death-- we can simply use a stack_context to nicely handle this down in the core. As far as the module authors/users are concerned nothing has changed-- but the storage behind the scenes is now per-JID. This same set of classes can easily be used to store additional data (next candidates are reactors, master MWorker tasks, etc.).
2015-10-22 18:41:27 -07:00
Thayne Harbaugh
a584ba567b
Test for loader collisions between modules and packages
...
What gets loaded from the following layout?:
foo.py:bar()
foo/__init__.py:bar()
This used to raise an exception (up until yesterday). For now this ensures
that foo/__init__.py:bar() has higher priority than foo.py:bar() when
foo.bar() is referenced.
2015-10-22 13:49:09 -06:00
justinta89
a74dbad74a
Started fixing win_firewall_test
2015-10-22 13:12:31 -06:00
twangboy
69c32a663e
Fixed some lint
2015-10-22 11:24:38 -06:00
twangboy
638dec5027
Fixed some tests... let's see if they're really are
2015-10-22 11:05:22 -06:00
Colton Myers
c89d63650e
Quiet pylint
2015-10-21 15:10:52 -06:00
Ronald van Zantvoort
46bf6d4fa3
Update file.serialize test for Python serialized
...
pprint.pformat seems non-reversible, so just add the newline there as well
2015-10-21 17:12:53 +02:00
Colton Myers
a471832fa7
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/cloud/clouds/ec2.py
salt/config/__init__.py
salt/modules/git.py
salt/modules/hosts.py
salt/modules/htpasswd.py
salt/states/boto_secgroup.py
salt/states/htpasswd.py
tests/unit/modules/schedule_test.py
2015-10-20 18:13:11 -06:00
Marek Skrobacki
f735792846
s6 service module
2015-10-20 11:43:09 +01:00
Mike Place
1db6406bef
Merge pull request #28013 from rallytime/bp-27891
...
Back-port #27891 to 2015.8
2015-10-19 06:57:51 -06:00
rallytime
9ea33bf0e4
Pylint fixes
2015-10-16 07:22:46 -06:00
Domingo Kiser
4af5b5c33f
introduce recurse_list pillar_source_merging_strategy
2015-10-16 05:24:40 -06:00
justinta89
cd67843bd0
Fix schedule_test failure
2015-10-15 14:49:26 -06:00
Colton Myers
153087a7b4
Merge pull request #26945 from dr4Ke/feature_state_grains_support_nested_and_dict
...
Feature state grains support nested and dict
2015-10-15 14:25:44 -06:00
justinta89
d88ac2589f
Changed grain to look at osmajorrelease instead of osrelease
2015-10-14 10:42:55 -06:00
Erik Johnson
2d0b16559e
Merge pull request #27676 from ticosax/no-more-arg-to-docker-start
...
[dockerng] WIP No more runtime args passed to docker.start()
2015-10-14 08:38:41 -05:00
Colton Myers
6537da77fe
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/grains/core.py
salt/loader.py
salt/minion.py
salt/modules/dockerng.py
salt/modules/rest_package.py
salt/modules/ssh.py
salt/modules/state.py
salt/modules/timezone.py
salt/modules/zypper.py
salt/runners/state.py
salt/state.py
salt/states/virtualenv_mod.py
salt/utils/cloud.py
2015-10-13 17:27:48 -06:00
Colton Myers
722327ee5f
Merge pull request #27885 from basepi/merge-forward-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2015-10-13 16:44:20 -06:00
Colton Myers
5ecd5615f2
Remove failing heavily-mocked test
2015-10-13 15:08:40 -06:00
Nicolas Delaby
a1d0ba392f
fixup! Do not pass any argument to docker.start
2015-10-13 20:53:11 +02:00
Nicolas Delaby
65c8762e1f
Do not pass any argument to docker.start
...
docker.create is responsible to manage all of them, since docker API 1.16
2015-10-13 19:39:32 +02:00
Mike Place
59e93ddde6
Merge pull request #27521 from terminalmage/zh107
...
Remove raw string formatting in execution modules
2015-10-13 10:57:08 -06:00
Mike Place
36f05fb526
Merge pull request #27882 from twangboy/win_task_module
...
Created win_task.py module
2015-10-13 10:54:13 -06:00
Erik Johnson
50cb56d7f6
Update raet_publish unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
7de02e95e9
Update darwin_pkgutil unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
ca9c478fa7
Update gem unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
71d57248d7
Update postgres unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
aef6c39c04
Update rvm unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
0210ef4434
Update mac_user unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
76ce6949d7
Update at unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
d2ad1d7892
Update rsync unit tests to reflect changes in execution module
2015-10-13 10:52:59 -05:00
Erik Johnson
362a91d42b
Remove rsync.config test since mock_open can't handle iterative reads
2015-10-13 10:52:59 -05:00
Erik Johnson
b1c60121bd
Update virtualenv unit tests to reflect changes in execution module
2015-10-13 10:52:58 -05:00
Erik Johnson
a5d6a3e768
Update pw_user unit tests to reflect changes in execution module
2015-10-13 10:52:58 -05:00
Erik Johnson
93815e6e39
remove rbenv test that doesn't really test anything
2015-10-13 10:52:58 -05:00
Mike Place
6d46a38d5d
Whitespace lint
...
Refs #27891
2015-10-13 09:15:12 -06:00
Mike Place
a158cd50e6
Merge pull request #27746 from alprs/fix-timedatectl_failure
...
timezone module: handle timedatectl errors
2015-10-13 08:55:27 -06:00
Mike Place
9dc19caa79
Merge pull request #27816 from alprs/fix-reboot_delay
...
Make system.reboot use `shutdown -r` when available
2015-10-13 08:52:06 -06:00
Domingo Kiser
a8adaa8f9e
introduce recurse_list pillar_source_merging_strategy
2015-10-12 21:59:39 -07:00
twangboy
14e060ed9c
Fixed some tests
2015-10-12 16:54:10 -06:00
Erik Johnson
922e2018ef
Merge pull request #27731 from cro/dunder_proxy
...
Add __proxy__ to replace opts['proxymodule']
2015-10-12 15:41:22 -05:00
Andreas Lutro
04ef51e524
make system.reboot use shutdown -r
when available
...
see issue #27710
2015-10-12 21:54:42 +02:00
Justin Findlay
bc0f167850
update timezone mod unit tests for errors
2015-10-12 11:39:03 -06:00
Mike Place
ba2a39d4b7
Merge pull request #27748 from multani/fix-8646
...
Fix #8646
2015-10-12 09:55:57 -06:00
C. R. Oldham
b049377cbe
Remove rest_sample_test, it wasn't testing anything
2015-10-12 08:34:36 -06:00
Richard Hansen
9aa19575fa
new ldap state module
2015-10-09 17:47:56 -04:00
Eren Güven
2caf1d21d6
fix test
2015-10-08 14:57:33 +02:00
Erik Johnson
2ae7ada3c9
Merge pull request #27741 from ticosax/docker.containers-filters
...
[dockerng] pass filters argument to dockerng.ps
2015-10-07 22:40:14 -05:00
Colton Myers
69d960f8e6
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/man/salt.7
doc/topics/ssh/index.rst
salt/modules/boto_secgroup.py
salt/modules/dockerng.py
salt/states/archive.py
salt/states/boto_elb.py
salt/states/boto_secgroup.py
tests/unit/modules/schedule_test.py
2015-10-07 13:11:48 -06:00
Colton Myers
35425b14ad
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
doc/man/salt-api.1
doc/man/salt-call.1
doc/man/salt-cloud.1
doc/man/salt-cp.1
doc/man/salt-key.1
doc/man/salt-master.1
doc/man/salt-minion.1
doc/man/salt-run.1
doc/man/salt-ssh.1
doc/man/salt-syndic.1
doc/man/salt-unity.1
doc/man/salt.1
doc/man/salt.7
salt/modules/pip.py
salt/states/user.py
2015-10-07 12:06:12 -06:00
Jonathan Ballet
6d95cbc998
Fix lint errors
2015-10-07 17:49:07 +02:00
Nicolas Delaby
821ed72f37
pass filters argument to dockerng.ps
2015-10-07 15:06:16 +02:00
Jonathan Ballet
4ff9f4be2a
Fix file.directory with clean=true and require_in with states ID
...
In order to know which files need to be cleaned up, a file.directory state
looks at its requirements.
Previously, it only looked at the name attribute of the required state and
supposed it was the name of the file to keep within this directory. It's
not completely right, as a requirement can also be made against a state ID,
in which case the 'name' attribute of the required state then have to be
used.
Fix #8646
2015-10-07 14:53:04 +02:00
Jonathan Ballet
0d391275de
Test cases to demonstrate bug #8646
2015-10-07 12:06:35 +02:00
Nicole Thomas
1b9e814c13
Merge pull request #27718 from rallytime/merge-27635-and-27552
...
Merge #27635 and #27552
2015-10-06 12:40:24 -06:00
Nicolas Delaby
edf625c8b4
Add support of labels
parameter for dockerng
2015-10-06 13:18:05 +02:00
Stephen Woodrow
509ded1bd0
Fix some tests.
2015-10-05 20:57:17 -07:00
Colton Myers
189ae407d7
Merge pull request #27623 from lomeroe/boto_secgroup_tags
...
Boto secgroup tags
2015-10-05 16:01:28 -06:00
Colton Myers
77516912fa
Merge pull request #27630 from ticosax/include-container-id-docker-mine
...
Expose container_id in mine.get_docker
2015-10-05 15:56:53 -06:00
Colton Myers
7a4291008e
Merge pull request #27689 from rallytime/fix-tests-27448
...
Merge #27448 with test fixes
2015-10-05 15:17:41 -06:00
Oleg Gashev
2a88028595
Added skip test_ext_pillar_env_mapping if git module does not exist.
...
If module named git does not exist, test test_ext_pillar_env_mapping
fail:
======================================================================
ERROR: test_ext_pillar_env_mapping
(integration.modules.pillar.PillarModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/git/salt/tests/integration/modules/pillar.py", line 120, in
test_ext_pillar_env_mapping
import git
ImportError: No module named git
Added skip test_ext_pillar_env_mapping test.
2015-10-05 14:47:25 -06:00
rallytime
05a506ec9f
Use correct comment in test
2015-10-05 14:02:13 -06:00
rallytime
8296fefb31
Merge #27448 with test fixes
2015-10-05 12:33:03 -06:00
Oleg Gashev
4e2d21ac68
Added skip test_ext_pillar_env_mapping if git module does not exist.
...
If module named git does not exist, test test_ext_pillar_env_mapping
fail:
======================================================================
ERROR: test_ext_pillar_env_mapping
(integration.modules.pillar.PillarModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/git/salt/tests/integration/modules/pillar.py", line 120, in
test_ext_pillar_env_mapping
import git
ImportError: No module named git
Added skip test_ext_pillar_env_mapping test.
2015-10-05 12:49:06 +00:00
Ethan Moore
c7aea90546
Adding tags to OrderedDict in test module
...
Adding SaltInvocationError import
2015-10-02 20:10:07 +00:00
Nicolas Delaby
9e56a7e9db
Expose container_id in mine.get_docker
...
Because sometimes we should be able to perform additional introspection.
2015-10-02 21:30:33 +02:00
Nicole Thomas
e103f53b4f
Merge pull request #27485 from lyft/boto-asg-scheduled-actions
...
Add scheduled actions (like scaleup/scaledown actions) to boto_asg
2015-10-01 09:18:19 -06:00
Ryan Lane
714a93900b
Patch config.option
2015-09-30 10:04:10 -07:00
Mike Place
fd11e0cd95
Merge pull request #27522 from twangboy/fix_26629
...
Removed dependency on powershell to restart salt-minion
2015-09-30 10:19:29 -06:00
C. R. Oldham
eb76531e96
Merge pull request #27550 from rallytime/cloud-logging
...
[2015.8] Clean up salt-cloud logging and make it more useful
2015-09-30 09:48:53 -06:00
Nicole Thomas
e5de9409c2
Merge pull request #27525 from basepi/merge-forward-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2015-09-29 21:38:22 -06:00
rallytime
78c85fbb31
Add unit tests for new recursive function
2015-09-29 21:25:47 -06:00
Colton Myers
1f3eb1c526
Remove useless mocked unit test
2015-09-29 18:23:46 -06:00
Colton Myers
41cad702e3
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/minion.py
salt/modules/rest_service.py
salt/states/dockerng.py
salt/utils/cloud.py
2015-09-29 18:13:33 -06:00
twangboy
163c54505d
Fixed tests... hopefully
2015-09-29 15:28:23 -06:00
Colton Myers
73b90f155e
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
doc/topics/cloud/gce.rst
doc/topics/windows/windows-package-manager.rst
salt/client/ssh/state.py
salt/cloud/clouds/ec2.py
salt/modules/defaults.py
salt/modules/file.py
salt/utils/cloud.py
2015-09-29 14:56:41 -06:00
Justin Anderson
0e37fb3bd3
Merge pull request #27513 from terminalmage/fix-worktree-tests
...
Fix integration tests for worktree addition in git >= 2.6
2015-09-29 12:39:19 -06:00
Nicole Thomas
e974a3c8aa
Merge pull request #27510 from rallytime/ryan-lane-test-fix
...
Merge #27475 with test fixes
2015-09-29 12:34:32 -06:00
Erik Johnson
519bdd6438
Fix integration tests for worktree addition in git >= 2.6
...
The output from 'git worktree add' changed slightly in 2.6.
2015-09-29 12:01:45 -05:00
rallytime
cae2c4e715
Syntax fix
2015-09-29 10:02:16 -06:00
rallytime
458547ba03
Fix test failures for boto __state__ changes
2015-09-29 09:55:44 -06:00
Mike Place
d85b0cbd69
Merge pull request #27451 from ticosax/dockerng-host-config-support
...
[dockerng] Enforce usage of host_config and require docker-py>=1.4.0
2015-09-29 09:51:28 -06:00
Nicolas Delaby
fadd9bd43e
Add test to check we don't call inspect_image on absent images.
2015-09-29 15:53:29 +02:00
Nicolas Delaby
b184faa55b
Enforce usage of host_config and require docker-py>=1.4.0
2015-09-28 23:24:57 +02:00
Mike Place
0bc37c0d41
Fix test
2015-09-28 12:57:22 -06:00
Mike Place
7d0512406b
Merge pull request #27464 from cachedout/lint_27365
...
Lint 27365
2015-09-28 12:38:26 -06:00
Nicolas Delaby
a1ed6cda56
Skip test if docker-py is not installed
2015-09-28 19:53:10 +02:00
Mike Place
74095b6b22
Lint
2015-09-28 11:48:51 -06:00
Nicolas Delaby
cc8471bd1b
dockerpy expect only command
argument not cmd
2015-09-28 10:08:40 -05:00
Matti Niemenmaa
8eb5036f1f
states.file: allow prepending to non-existent file ( #27401 )
...
Remove the redundant file.touch invocation also from file.append, to
simplify the flow.
2015-09-27 09:06:51 +03:00
justinta89
fd0dedeb99
Skipping Async tests
...
Skipping the transport async tests until we can devote more time to fixing the
test failures associated with them.
2015-09-24 13:41:58 -06:00
Daniel Hobley
f972c39333
Lint fixes
2015-09-24 12:41:56 +02:00
Daniel Hobley
40db871e2b
Added the ability to trim the returned files from an unzip
...
- This reduces log spamming when you unzip thousands of files, it defaults to off
2015-09-24 11:43:21 +02:00
Thomas S Hatch
d37afd1be8
Add rand-ver option
2015-09-23 16:09:23 -06:00
Thomas S Hatch
d5c23bdf8a
Allow the minion swarm to generate random minion OSES
2015-09-23 15:59:55 -06:00
Mike Place
23fcc9e348
Merge pull request #27248 from tinyclues/better_cors_headers
...
[Saltnado] - The CORS implementation was a bit naive about headers allowance.
2015-09-23 08:50:06 -06:00
Mike Place
3933eed307
Merge pull request #27249 from tinyclues/login_support_more_content_type
...
[Saltnado] - Add the support of login payload in JSON and YAML.
2015-09-23 08:49:42 -06:00
Mike Place
f63f4d8c43
Merge pull request #27289 from terminalmage/encrypted-cli-pillar
...
Feature add: Encrypted CLI pillar data
2015-09-22 10:34:13 -06:00
Erik Johnson
bacc76c355
Update mocked objects for state module tests
...
Added the new pillar_enc value
2015-09-22 08:25:51 -05:00
FELD Boris
6417161fd7
The CORS implementation was a bit naive about headers allowance.
...
A preflight request send the list of headers of the final request
in a special header ```Access-Control-Request-Headers```.
The server must returns the list of allowed header in the special header
```Access-Control-Allow-Headers```.
This PR just returns the whole list of headers but may allow filtering of some
of them quite easily. I'm not sure to see how filtering how headers may
impact security, if anyone has some leads.
2015-09-18 23:24:43 +02:00
FELD Boris
a4fd1e75c5
Add the support of login payload in JSON and YAML.
...
Login endpoint supported only application/x-www-form-urlencoded which may
be an useless limitation. This PR add support for more content-type,
JSON and YAML and every content-type supported by saltnado in general
as it uses the same deserialisation method than the lowstate deserialisation.
2015-09-18 19:16:47 +02:00
Colton Myers
9864d9e0fa
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/ref/modules/all/index.rst
doc/topics/releases/boron.rst
salt/cli/daemons.py
salt/cli/salt.py
salt/modules/jboss7.py
salt/states/file.py
2015-09-18 11:03:37 -06:00
Colton Myers
9ddc88c6ba
Merge pull request #27198 from basepi/merge-forward-develop
...
Merge forward from 2015.8 to develop
2015-09-17 15:33:15 -06:00
Colton Myers
1cbfa06591
Remove heavily-mocked failing test
2015-09-17 14:38:05 -06:00
Colton Myers
26b6c92975
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/conf.py
salt/config/__init__.py
salt/modules/rh_ip.py
salt/pillar/s3.py
salt/returners/local_cache.py
salt/states/user.py
salt/templates/rh_ip/rh7_eth.jinja
2015-09-17 11:10:37 -06:00
Colton Myers
2c2a5f85ac
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
doc/conf.py
doc/topics/cloud/gce.rst
salt/cli/api.py
salt/cli/call.py
salt/cli/cp.py
salt/cli/key.py
salt/cli/run.py
salt/cli/salt.py
salt/modules/dockerio.py
salt/states/dockerio.py
2015-09-17 10:54:33 -06:00
FELD Boris
5e9c3c7d96
Improve support of Accept header in saltnado.
...
It currently supports 'simple' values like application/json, but Accept header
could also include more than one value with parameters
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 .
For example:
```application/json, text/javascript, */*; q=0.01```
This PR add support for multiple media_range in Accept header, support parsing
of parameter (like q=0.01) but discard them and finally iterate on
media_range and take the first compatible.
A more complete implementation may fully supports the RFC and support
q parameter and specific order of priority to find the most compatible
Content-Type but I don't think it's worth the pain.
If we want a better implementation, werkzeug has actually an implementation
http://werkzeug.pocoo.org/docs/0.10/datastructures/#werkzeug.datastructures.Accept.best_match .
2015-09-17 00:48:34 +02:00
twangboy
7992b7e20a
Fixed some tests... hopefully...
2015-09-15 16:27:47 -06:00
FELD Boris
ef3b7ddc2d
Fix lints
2015-09-15 20:29:18 +02:00
FELD Boris
b13f66ee4b
Add support for CORS in saltnado.
...
Add support for CORS and tests in RPC salt-api. The code was inspired by
https://github.com/globocom/tornado-cors .
Also add support for CORS in websocket. By adding some tests, I made
a small refactoring to make the websocket handler more easily testable.
Some documentation about CORS could be found here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
for reference.
2015-09-15 18:52:44 +02:00
Christophe Drevet-Droguet
8553c44cea
grains state: allow deleting grain with 'False' value
...
and destroy a grain previously set to None, with destructive=True:
The f46722aaeb
commit, from Bruno Binet <bruno.binet@gmail.com> was
effectively reverted during my work on nested and complex values support.
This commit get it back, plus the ability to destroy a existing grain that
was previously set to None, plus tests for these.
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
484853412b
grains state: list_present, list_absent support nested grain
...
... and custom delimiter
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
a02f125faa
grains state: nested support for grains.append
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
394586f759
grains state: more tests
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
098af32354
grains state tests: test the grain file content as well
...
It may be overkill, but I'm nervous about this change and
I don't want to mess with the grain file of a lot of people
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
250bc8d308
grains state: changes comment more accurate
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
557e642ddf
grains module: simpler comment for already set key
2015-09-15 17:49:49 +02:00
Christophe Drevet-Droguet
b0c9d23cef
grains state: new tests for nested grains
2015-09-15 17:49:49 +02:00
Justin Findlay
440855b182
Merge pull request #27033 from jfindlay/n0ne
...
Merge #27019
2015-09-15 01:32:17 -06:00
Colton Myers
ab519fb5ff
Remove heavily-mocked unit tests
2015-09-14 17:00:02 -06:00
Justin Findlay
3334b9d548
fix comment and unit test for reg state
2015-09-14 16:04:09 -06:00
Colton Myers
274464a85b
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
doc/topics/reactor/index.rst
salt/cloud/clouds/digital_ocean_v2.py
salt/modules/groupadd.py
salt/modules/localemod.py
salt/modules/mysql.py
salt/modules/useradd.py
salt/modules/win_pkg.py
salt/modules/win_useradd.py
salt/netapi/rest_cherrypy/app.py
salt/pillar/s3.py
salt/returners/local_cache.py
salt/states/htpasswd.py
salt/states/user.py
2015-09-14 14:39:03 -06:00
Mike Place
a87a62c5b6
Merge pull request #26857 from bradthurber/add_jboss_domain_mode_to_jboss7_modules
...
add jboss domain mode to jboss7 python modules
2015-09-14 13:40:26 -06:00
Mike Place
b13b6b912a
Merge pull request #26984 from tinyclues/26505_improve_content_type_support
...
[NetAPI] SaltNado - Improve support for Content-Type parsing. Ref #26505
2015-09-14 13:02:28 -06:00
Brad Thurber
5d4798012a
more test updates
2015-09-14 13:05:07 -04:00
Pedro Algarvio
fcb7138efa
Make sure spm tests are picked up by runtests.
...
Lists in py2 don't have the clear method
2015-09-14 17:54:51 +01:00
Brad Thurber
872aabf7fa
update more tests
2015-09-14 11:55:42 -04:00
Brad Thurber
b1ceb221a0
more test updates. It wouldn't surprise me if these changes expose other failing tests.
2015-09-14 10:36:40 -04:00
Brad Thurber
72235f61ce
clean up lint and add profile to tests
2015-09-14 09:03:30 -04:00
rallytime
a0de117a0f
Merge branch '2015.8' into develop
...
Conflicts:
salt/cloud/__init__.py
salt/cloud/clouds/proxmox.py
salt/config/__init__.py
2015-09-11 09:33:21 -06:00
Justin Findlay
391a09d5ac
update reg state unit tests
2015-09-10 16:16:15 -06:00
Justin Findlay
b36a7107b2
update win_path exec module unit tests
2015-09-10 15:17:46 -06:00
Justin Findlay
2c8beb238f
Merge pull request #27026 from rallytime/bp-27011
...
Back-port #27011 to 2015.5
2015-09-10 15:13:45 -06:00
Seth House
f8518d545f
Move giant eventlisten.sh example out of the state.event docstring
...
This is more interesting than directly useful and doesn't need to
clutter the docs.
2015-09-10 13:38:09 -06:00
Justin Findlay
801f2eadb5
Merge pull request #26874 from evverx/use-localectl-on-jessie-and-vivid
...
Use localectl for locale setting/getting on Debian if available
2015-09-10 13:30:05 -06:00
Erik Johnson
30a4915762
Update tests to reflect changes to timezone module
2015-09-10 11:05:38 -05:00
Seth House
af44413db1
Move giant eventlisten.sh example out of the state.event docstring
...
This is more interesting than directly useful and doesn't need to
clutter the docs.
2015-09-10 08:51:23 -06:00
Seth House
e47fe835c9
Remove mocks from rest_cherrypy integration tests
...
These mocks predated the inclusion of salt-api into Salt core. They are
now no longer needed and counter-productive.
2015-09-09 10:39:35 -06:00
Seth House
6d22514934
Rename the rest_cherrypy tests to conform to our convention
...
Previously they conformed to the default unittest2 convention.
2015-09-09 10:39:34 -06:00
Nicole Thomas
eddb532713
Merge pull request #26915 from rallytime/joyent-tests
...
Update Joyent Cloud Tests
2015-09-09 09:04:50 -06:00
FELD Boris
23c7b4847c
Improve support for Content-Type parsing. Ref #26505
...
It currently supports 'simple' values like application/json, but Content-Type
header could also includes parameter. See RFC http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 .
When sending JSON from a browser for example, the Content-Type is
`application/json; charset=utf-8` and salt-api failed to detect JSON content.
The proposition is to use cgi.parse_header method (https://docs.python.org/2.7/library/cgi.html?highlight=cgi#cgi.parse_header )
to correctly parse the Content-Type value but ignore parameters, JSON should
always be UTF-8 but I don't know about other supported Content-Type.
2015-09-09 16:41:29 +02:00
Seth House
d68aefcfde
Remove mocks from rest_cherrypy integration tests
...
These mocks predated the inclusion of salt-api into Salt core. They are
now no longer needed and counter-productive.
2015-09-08 15:40:06 -06:00
Seth House
2aa3da8911
Rename the rest_cherrypy tests to conform to our convention
...
Previously they conformed to the default unittest2 convention.
2015-09-08 15:40:06 -06:00
Pedro Algarvio
10a9189d83
Merge remote-tracking branch 'upstream/2015.8' into hotfix/merge-forward-develop
2015-09-06 12:42:58 +01:00
rallytime
d4ad42d697
Update Joyent Cloud Tests
2015-09-04 12:23:05 -06:00
Mike Place
a33569a8be
Merge pull request #26910 from s0undt3ch/hotfix/26848-event-backwards-compat
...
Sometimes the event system is just too fast
2015-09-04 09:00:39 -06:00
Pedro Algarvio
503e050a75
Sometimes the event system is just too fast
2015-09-04 15:52:06 +01:00
Evgeny Vereshchagin
8f77b743cd
Use localectl for locale setting on Debian if available
2015-09-04 04:06:55 +03:00
Mike Place
1d5fd71fa3
Merge pull request #26880 from s0undt3ch/hotfix/26848-event-backwards-compat
...
Restore backwards compatibility to `salt.utils.event`
2015-09-03 17:04:45 -06:00