rallytime
c2b52ccf9c
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/ipset.py
2016-06-24 16:03:11 -06:00
Jorge Schrauwen
c3667203bf
add test for vfstab
2016-06-24 23:33:39 +02:00
Jorge Schrauwen
80e9d1d278
set __grains__ for fstab unit test
2016-06-24 23:28:53 +02:00
rallytime
ae8ad9329c
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/renderers/gpg.py
- tests/unit/renderers/gpg_test.py
2016-06-24 14:45:37 -06:00
Jonathon Anderson
ed74415155
Addressed unit testing for salt.utils.find
...
In addition to addressing test failures introduced by this
bugfix branch, I've also added additional tests for the
proper behavior of min/maxdepth.
2016-06-24 14:06:17 -06:00
Mike Place
65c5675a3f
Merge pull request #34257 from rallytime/fix-34037
...
Use 'config_dir' setting instead of CONFIG_DIR in gpg renderer
2016-06-24 10:25:04 -07:00
rallytime
d7a5e9b10e
Remove test that doesn't actually test anything
2016-06-24 09:10:13 -06:00
Jorge Schrauwen
a09055cba7
Fix for #14915 ( #34254 )
...
* mount.swaps now works on solarish like systems
* mount.swapon / mount.swapoff supported on solarish platforms
* mount.active (and internal consumers) now work on all solarish platforms
* unit-tests - mount_tests should set kernel grain
2016-06-24 10:32:48 -04:00
rallytime
07f5ebdf38
Pylint fix
2016-06-24 08:28:25 -06:00
rallytime
ea048fd9b6
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/grains/core.py
- tests/unit/grains/core_test.py
2016-06-23 17:13:20 -06:00
Mike Place
e7c08bc620
Merge pull request #34167 from DSRCompany/issues/30762_ext_auth_acl
...
External auth can return dynamically generated ACL from auth call.
2016-06-23 14:26:44 -07:00
Mike Place
cb5399787c
Merge pull request #34136 from meaksh/salt-suse-os-detection-2015.8
...
Fixed behavior for SUSE OS grains in 2015.8
2016-06-23 13:24:58 -07:00
Mike Place
3acda896f2
Merge pull request #34134 from meaksh/salt-suse-os-detection
...
Fixed behavior for SUSE OS grains in 2016.3
2016-06-23 13:24:51 -07:00
Mike Place
f65535a307
Merge pull request #34220 from LeadSift/develop
...
Fixes #34181 no more newlines in long yaml encodes
2016-06-23 10:51:48 -07:00
Justin Anderson
4fc44bd2f2
Updated winrepo_test ( #34227 )
...
Due to changes made in https://github.com/saltstack/salt/pull/34004 ,
specifically the "Universal method for everywhere" addition, we
no longer needed to mock the return values as this gets the correct
path.
2016-06-23 13:05:49 -04:00
rallytime
8cec6f3fb4
Fixup test failure
2016-06-23 09:38:49 -06:00
Hatem Nassrat
9f16d6019c
Fixes #34181 no more newlines in long yaml encodes
2016-06-22 18:35:19 +00:00
rallytime
8479c45728
Merge branch '2016.3' into 'develop'
...
No conflicts.
2016-06-21 17:29:44 -06:00
rallytime
318c2ed6a1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cli/salt.py
- salt/modules/grains.py
- tests/unit/modules/boto_vpc_test.py
2016-06-21 16:03:31 -06:00
rallytime
8e36e90966
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- tests/unit/modules/boto_vpc_test.py
2016-06-21 14:47:23 -06:00
Dmitry Kuzmenko
45a3601172
Minor lint fix.
2016-06-21 20:47:55 +03:00
Dmitry Kuzmenko
fca16a93fa
External auth can return dynamically generated ACL from auth call.
2016-06-21 15:02:03 +03:00
Mike Place
8f714138eb
Use .next() in contextdict test for py3 ( #34106 )
2016-06-20 19:32:34 -04:00
Thomas S Hatch
3dbf7119ce
Merge pull request #34088 from Unity-Technologies/osx/mac_defaults_absent
...
Osx/mac defaults absent
2016-06-20 13:30:40 -06:00
Justin Anderson
b7ac6c735a
Moved imports to top, out of _get_moto_version function
2016-06-20 13:20:43 -06:00
Justin Anderson
02f9ba99ba
Updated version check. Moved check into it's own function
2016-06-20 10:33:13 -06:00
Justin Anderson
d445026c56
Updated test to work with new moto version. Changed strings to unicode
2016-06-20 09:26:39 -06:00
Pablo Suárez Hernández
97f1958863
some cleanup and renaming
2016-06-20 15:47:34 +01:00
Pablo Suárez Hernández
23ce0b431b
some cleanup and renaming
2016-06-20 15:39:19 +01:00
Pablo Suárez Hernández
548971bdc9
Fix for SUSE OS grains in 2015.8
2016-06-20 13:13:00 +01:00
Pablo Suárez Hernández
44eda2ad9f
Fix for openSUSE Tumbleweed
2016-06-20 12:04:10 +01:00
Pablo Suárez Hernández
0d4a710d86
fixes for fopen mock and some os_release_map for SLES11SP3
2016-06-20 11:56:06 +01:00
Pablo Suárez Hernández
d6410a03b8
unit tests for SUSE os grains detection
2016-06-20 11:22:01 +01:00
Nicole Thomas
3382bc5c28
Merge pull request #34076 from rallytime/merge-develop
...
[develop] Merge forward from 2016.3 to develop
2016-06-17 15:13:30 -04:00
Henrik Holmboe
523b2acae9
return_valute -> return_value ( #34091 )
2016-06-17 13:02:07 -04:00
rallytime
0f92f3420d
Change 'Suse' to 'SUSE' in inspect_collector_test
...
This is needed due to the change in #33564
2016-06-17 10:56:42 -06:00
Thomas S Hatch
c05296b035
Merge pull request #34004 from isbm/isbm-no-minionid-sorting-dev
...
Complete rewrite how Minion ID is generated (dev)
2016-06-17 09:15:58 -06:00
Daniel Hobley
182373344e
Moved to using run_all in the absent function
...
- Fixed unit tests
2016-06-17 16:13:38 +02:00
joelc
f16839c83b
typo
2016-06-17 08:31:49 -05:00
joelc
ec31f7a7d4
Adds delete functionality to mac_defaults
2016-06-17 08:25:42 -05:00
Pablo Suárez Hernández
d78d57b717
Test fixed: get OS grain from /etc/os-release if possible
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
d80e0532ff
fix: osarch_mock
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
db00ec756d
osarch mock for unit test
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
dabc5cab7e
lint fix
2016-06-17 13:32:56 +01:00
Pablo Suarez Hernandez
9ac514724b
testing if SUSE os grain is set from /etc/os-release
2016-06-17 13:32:56 +01:00
rallytime
d957c29704
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/master.py
- salt/utils/parsers.py
2016-06-16 17:08:39 -06:00
Thomas S Hatch
5a792caa57
Merge pull request #34068 from jfindlay/disk_capacity
...
Add docs and tests to disk state
2016-06-16 15:18:13 -06:00
Justin Findlay
dca04727b5
states.disk: rewrite unit tests
2016-06-16 12:49:36 -06:00
Thomas S Hatch
c76123767c
Merge pull request #33903 from meaksh/salt-os-family-does-not-detect-SLES-for-SAP
...
Fetching grains['os'] from /etc/os-release on SUSE systems if it is possible
2016-06-16 11:21:09 -06:00
Thomas S Hatch
bf3e7c83b0
Merge pull request #33837 from lorengordon/masterless-orchestration
...
Support salt.state orchestration in masterless mode
2016-06-16 11:16:53 -06:00
rallytime
9d049e28e5
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/win_pkg.py
- salt/states/disk.py
2016-06-15 17:13:26 -06:00
Thomas S Hatch
73ff11585e
Merge pull request #33987 from isbm/isbm-inspectlib-cleanup
...
inspectlib cleanup
2016-06-15 16:09:31 -06:00
Nicole Thomas
f546a00dc9
Merge pull request #34025 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-06-15 15:41:00 -04:00
Loren Gordon
f7fd2962cb
Update saltmod tests to use master __opts__
2016-06-15 14:12:53 -04:00
Bo Maryniuk
6dcdc59f7e
Fix lint: unused import
2016-06-15 14:41:43 +02:00
Bo Maryniuk
921c399305
Add unit test: addrinfo from the raw socket should be picked up if all other socket checks had failed to localhost
2016-06-15 14:09:12 +02:00
Bo Maryniuk
4df1b542de
Add unit test: check if FQDN is picked up
2016-06-15 14:08:41 +02:00
Bo Maryniuk
a31b7aedfc
Add unit test: minion ID should be localhost, if everything is localhost.
2016-06-15 14:08:13 +02:00
Bo Maryniuk
97ef3bdb76
Test fix: only non-localhost IP should persist
2016-06-15 14:07:29 +02:00
Bo Maryniuk
263c039db9
Test fix: look for attribute name only when other socket checks had failed
2016-06-15 14:06:50 +02:00
Bo Maryniuk
be00b90067
Remove unnecessary tests: no fallback to what was already looked at
2016-06-15 13:45:54 +02:00
Bo Maryniuk
2dc9e693f5
Fix lint
2016-06-14 16:37:11 +02:00
Bo Maryniuk
ef84253e7e
Fix netmask test.
2016-06-14 16:34:44 +02:00
Bo Maryniuk
ffeaff003f
Fix typo
2016-06-14 16:33:18 +02:00
Bo Maryniuk
22f3bab2ca
Fix the documentation
2016-06-14 16:29:07 +02:00
Bo Maryniuk
085901470e
Add unit test check for non-localhost IP is accepted as a minion ID
2016-06-14 16:29:07 +02:00
Bo Maryniuk
bce6798e86
Add unit test to check if any of localhost or local IP addresses are filtered
2016-06-14 16:29:07 +02:00
Bo Maryniuk
47755c69ea
Add unit test to filter out localhost from the first occurrence
2016-06-14 16:29:07 +02:00
Bo Maryniuk
15ecb083e3
Add test for the first in line from platform.node is used (mostly)
2016-06-14 16:29:06 +02:00
Bo Maryniuk
eed433ec60
Add unit test to check on duplicate hostnames in the pool
2016-06-14 16:29:06 +02:00
Bo Maryniuk
71a3e91f57
Add unit test for check if the minion ID is distinct in the pool
2016-06-14 16:29:06 +02:00
Bo Maryniuk
a3266c6f2f
Fix network test for Solaris
2016-06-14 16:29:06 +02:00
Bo Maryniuk
2d4a9939a9
Rename network unit test into a proper name
2016-06-14 16:29:06 +02:00
Bo Maryniuk
fe300ccf73
Lintfix
2016-06-14 09:39:04 +02:00
Bo Maryniuk
96423076b1
Add unit test for file tree
2016-06-14 00:25:08 +02:00
Justin Findlay
6cbe31e6c2
states.disk: rewrite unit tests
2016-06-13 16:13:40 -06:00
Bo Maryniuk
8975036b27
Add get_unmanaged_files test
2016-06-14 00:05:34 +02:00
Justin Findlay
6080846cce
acl.ClientACL: add unit tests ( #33684 )
2016-06-13 16:00:35 -04:00
rallytime
c57bcebaf8
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/boto_lambda.py
2016-06-13 11:18:53 -06:00
Bo Maryniuk
be5f12fcaf
Add initial unit test for inspectlib.collector.Inspector
2016-06-13 18:17:28 +02:00
Pablo Suárez Hernández
1afc12f6d1
Test fixed: get OS grain from /etc/os-release if possible
2016-06-13 10:19:17 +01:00
Adam Chainz
64d9a62f89
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-11 12:33:37 +01:00
rallytime
b4ab322ce1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/saltutil.py
2016-06-10 13:41:53 -06:00
Nicolas Delaby
f806c7e290
[boto_lambda] handle ommitted Permissions parameter ( #33908 )
...
* a bit of pep8
* Don't fail if `Permssions` is None
2016-06-10 13:31:22 -04:00
Mike Place
abf5131c0a
Adds absolute value option to disk state ( #33918 )
2016-06-10 11:08:57 -04:00
Pablo Suarez Hernandez
a0693aafcb
fix: osarch_mock
2016-06-10 09:48:37 +01:00
Pablo Suarez Hernandez
1680f18556
osarch mock for unit test
2016-06-10 08:51:33 +01:00
Pablo Suarez Hernandez
63e2f27fa6
lint fix
2016-06-09 21:33:06 +01:00
rallytime
f078d57b57
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/rabbitmq.py
- salt/modules/win_servermanager.py
- salt/state.py
- salt/states/boto_s3_bucket.py
- salt/states/pip_state.py
- salt/states/win_servermanager.py
- tests/unit/modules/win_servermanager_test.py
- tests/unit/states/dockerng_test.py
2016-06-09 13:06:10 -06:00
Nicole Thomas
08a584b3e5
Merge pull request #33711 from rallytime/merge-develop-3
...
[develop] Merge forward from 2016.3 to develop
2016-06-09 14:12:48 -04:00
Pablo Suarez Hernandez
7f7800ffc9
testing if SUSE os grain is set from /etc/os-release
2016-06-09 15:09:00 +01:00
Justin Findlay
82f95429db
modules.random_org unit tests: skip if random.org down
2016-06-08 20:46:20 -06:00
rallytime
595d4f2ac3
Fixup new groupadd tests for syntax change in 2016.3
2016-06-08 12:42:52 -06:00
rallytime
c5b4ec0b0f
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cli/salt.py
- salt/modules/groupadd.py
- salt/states/service.py
2016-06-08 11:20:18 -06:00
Mike Place
01aaf3e2a9
Merge pull request #33771 from twangboy/win_dism
...
Additional functionality to win_dism.py
2016-06-08 06:58:20 -07:00
Mike Place
f7b3d0eda0
Merge pull request #33839 from cachedout/fix_pkgresource_test_stacktrace
...
Fix another unit test stacktrace in pkg_resource
2016-06-08 06:32:55 -07:00
Mike Place
5f081ef31c
Merge pull request #33840 from cachedout/remove_matcher_unit_tests
...
Remove matcher tests
2016-06-08 06:31:41 -07:00
Nicolas Delaby
0d40e1c4f3
Add support for edge case when Cmd and Entrypoint can't be blanked
2016-06-08 10:46:24 +02:00
Mike Place
6297448377
Remove matcher tests
...
These all assert directly against mock objects. They're pointless.
2016-06-07 16:36:01 -06:00
Mike Place
435547a747
Fix another unit test stacktrace in pkg_resource
2016-06-07 15:55:52 -06:00