Commit Graph

98024 Commits

Author SHA1 Message Date
Aleksei Plotnikov
b56aedc052 Optimize postgres groups management
Use single SQL query to fetch all roles. Fixes #34734 and #35070. Also
fixes issue with nologin roles being added to groups every time Salt is
run.
2018-09-06 15:14:00 +02:00
Pablo Suárez Hernández
a0ed59dad9
Fix recursive cases on linux_acl.absent state 2018-09-06 11:37:37 +01:00
Pablo Suárez Hernández
4a018490b8
Add unit tests to cover recursive cases of linux_acl states 2018-09-06 11:37:37 +01:00
Pablo Suárez Hernández
f739b6f995
Fix typo on variable name 2018-09-06 11:37:37 +01:00
Pablo Suárez Hernández
dc6d1d7d6b
Fix wrong recurse behavior on for linux_acl.present state 2018-09-06 11:37:37 +01:00
Daniel A. Wozniak
6a4f8239d7
Fix merge wart 2018-09-05 23:34:45 -07:00
Erik Johnson
1478a76560
Remove special handling for file_envs fileserver func
https://github.com/saltstack/salt/pull/49389 made this special handling obsolete.
2018-09-05 22:18:49 -05:00
Erik Johnson
1f0288e633
Prevent lookup error when trying to lookup fileserver function from LazyDict
This prevents an unnecessary failed lookup, which as of the fluorine
release cycle will result in an error being logged.
2018-09-05 22:13:30 -05:00
Gareth J. Greenaway
5ec5578fe1
Disable various boto tests when run under python 3.7 because of //github.com/spulec/moto/issues/1706. which was causing the test suite to hang on unit tests. 2018-09-05 19:47:21 -07:00
Ch3LL
50237e9daf
Skip test_virt and pip_state requirements tests on macosx 2018-09-05 17:49:07 -04:00
Erik Johnson
bbb8fe8540
Fix _get_hash in splay executor
You can't pass a unicode value to bytearray()
2018-09-05 16:09:07 -05:00
rallytime
7d1d50701b
Lint: Remove unused import 2018-09-05 15:53:56 -04:00
Nicole Thomas
f73f2e5bb6
Merge pull request #49511 from rallytime/merge-2018.3
[2018.3] Merge forward from 2018.3.3 to 2018.3
2018-09-05 15:52:24 -04:00
Nicole Thomas
13f1d2633b
Merge pull request #49512 from rallytime/merge-2017.7
[2017.7] Merge forward from 2017.7.8 to 2017.7
2018-09-05 15:52:00 -04:00
Mike Place
208cfe6d7a
Merge pull request #49515 from rallytime/update-codeowners
Add some files to the CODEOWNERS files for team-core to own
2018-09-05 10:17:42 -06:00
rallytime
1faab8bc01
Add some files to the CODEOWNERS files for team-core to own
And also fix a couple of bugs found when writing tests for the matching used
by tamarack bot. This expands the files that the core team will be requested for
on pull request reviews.
2018-09-05 09:56:07 -04:00
rallytime
862c44c036
Merge branch '2018.3' into 'fluorine'
No conflicts.
2018-09-05 09:41:04 -04:00
rallytime
de7ef3d681
Add "in progess" notation back to 2017.7.8 release notes
We need this notation in the branch for now. We will remove it once the release
is live.
2018-09-05 09:39:14 -04:00
rallytime
edad2dcda9
Merge branch '2017.7.8' into '2017.7'
No conflicts.
2018-09-05 09:36:33 -04:00
rallytime
3ffc6c2520
Merge branch '2018.3.3' into '2018.3'
Conflicts:
  - tests/integration/states/test_file.py
  - tests/support/helpers.py
  - tests/whitelist.txt
2018-09-05 09:34:27 -04:00
Nicole Thomas
34e517410f
Merge pull request #49327 from twangboy/fix_win_service
Fix issues with win_service
2018-09-05 09:24:54 -04:00
Nicole Thomas
d24c96f394
Merge pull request #49505 from Ch3LL/rn_7.8_2
Update 2017.7.8 ChangeLog with new fixes
2018-09-05 09:08:40 -04:00
Ch3LL
d40b6444a1
Update 2017.7.8 ChangeLog with new fixes 2018-09-04 17:28:50 -04:00
twangboy
74e944b178
Mark test_service_status_running as flaky 2018-09-04 15:15:31 -06:00
Nicole Thomas
d53cd16601
Merge pull request #49501 from rallytime/merge-fluorine
[fluorine] Merge forward from 2018.3 to fluorine
2018-09-04 17:02:43 -04:00
Nicole Thomas
ebfd7f9079
Merge branch '2018.3' into 49452_collections_abc 2018-09-04 15:03:45 -04:00
Nicole Thomas
81a49a82e9
Merge pull request #49500 from rallytime/merge-2018.3
[2018.3] Merge forward from 2017.7 to 2018.3
2018-09-04 15:02:30 -04:00
Nicole Thomas
87d3dfe085
Merge pull request #49499 from rallytime/pin-cherrypy-2018.3.3
Pin CherryPy version to < 18.0.0 in requirements files for PY2
2018-09-04 14:52:43 -04:00
Nicole Thomas
16ca360d1e
Merge pull request #49497 from rallytime/bp-49473
Back-port #49473 to 2018.3
2018-09-04 14:44:24 -04:00
Nicole Thomas
0d7b173b24
Merge pull request #49498 from rallytime/pin-cherrypy-2017.7.8
Pin CherryPy version to < 18.0.0 in requirements files for PY2
2018-09-04 13:55:01 -04:00
Mike Place
8380be9477
Merge pull request #49478 from dwoz/test_fixes
Test fixes
2018-09-04 11:02:57 -06:00
rallytime
0c8b412556
Merge branch '2018.3' into 'fluorine'
Conflicts:
  - tests/integration/modules/test_archive.py
2018-09-04 12:05:48 -04:00
rallytime
2317b5ef58
Merge branch '2017.7' into '2018.3'
Conflicts:
  - salt/client/ssh/__init__.py
  - tests/integration/modules/test_win_ntp.py
2018-09-04 12:01:38 -04:00
rallytime
1aa3935c11
Lint: Add range import from six 2018-09-04 11:04:30 -04:00
rallytime
9e274335a3
Pin CherryPy version to < 18.0.0 in requirements files for PY2
Version 18.0 now requires Python 3.5, so we need to pin this for Py2.
2018-09-04 10:51:12 -04:00
rallytime
81a6155b6b
Pin CherryPy version to < 18.0.0 in requirements files for PY2
Version 18.0 now requires Python 3.5, so we need to pin this for Py2.
2018-09-04 10:47:41 -04:00
rallytime
d06f6a5d3e
Use correct and explicit paths for salt utils libs 2018-09-04 10:02:34 -04:00
Nicole Thomas
7f21d54e6c
Merge branch 'fluorine' into test_fixes 2018-09-04 09:39:16 -04:00
Gareth J. Greenaway
b27e86bd7d
Swapping out the version check for a try...except on the import from collections.abc with a fallback to importing from collections. 2018-09-03 16:30:21 -07:00
Daniel A. Wozniak
b2fd240248
Check for windows instead not for windows 2018-09-03 10:54:56 -07:00
Mike Place
c69560ccb2
Merge branch '2017.7' into fix_win_service 2018-09-03 08:16:52 -06:00
Gareth J. Greenaway
d118a9fe53
Updating various imports that have been moved from collections to collections.abc, and will be deprecated in collections beginning in 3.8. 2018-09-02 13:08:23 -07:00
Daniel Wozniak
93df5c4f16
Merge pull request #49474 from dwoz/gitfs_unit
Work around git-python resource leaks
2018-09-02 12:42:31 -07:00
Daniel Wozniak
1cdaea22b0
Merge pull request #49475 from dwoz/flaky_tests
Fix a flaky test and mark another as flaky
2018-09-02 12:40:29 -07:00
Mike Place
43ead5d1bc
Merge pull request #49471 from Ch3LL/debug_sigusr1
Remove string conversion on frame object in sigusr1 handler
2018-09-02 12:05:12 -06:00
Mike Place
52279f2c2e
Merge pull request #49477 from Ch3LL/mac_status_test
Check if service exists first in service.status for mac
2018-09-02 11:59:50 -06:00
Daniel A. Wozniak
c78589f328
Account for changes in Windows reg state 2018-08-31 23:01:39 -07:00
Daniel A. Wozniak
987c26fae1
Fix file unless onlyif tests on windows 2018-08-31 23:01:39 -07:00
Daniel A. Wozniak
4a8d92b576
Change expected exception log to debug 2018-08-31 23:01:38 -07:00
Daniel A. Wozniak
280734a14f
The loader uses win_dacl's virtual name 2018-08-31 23:01:38 -07:00