Commit Graph

77983 Commits

Author SHA1 Message Date
Nicole Thomas
2ab7549d48 Merge pull request #43884 from UtahDave/2016.11local
Update SaltConf banner per Rhett's request
2017-10-04 09:08:29 -04:00
garethgreenaway
e3b2857285 Merge branch '2016.11' into 2016.11local 2017-10-03 11:50:29 -07:00
Nicole Thomas
4b882d4272 Merge pull request #43869 from terminalmage/issue43522
Only join cmd if it's not a string
2017-10-03 12:25:07 -04:00
David Boucha
8c671fd0c1
Update SaltConf banner per Rhett's request 2017-10-03 10:07:28 -06:00
Erik Johnson
fe28b0d4fb
Only join cmd if it's not a string
See https://github.com/saltstack/salt/pull/43807#discussion_r142009644
2017-10-02 14:42:40 -05:00
Nicole Thomas
a2161efda3 Merge pull request #43707 from terminalmage/issue43373
Add missing support for use/use_in requisites to state.sls_id
2017-10-01 10:07:52 -04:00
garethgreenaway
85b3aa332a Merge pull request #43807 from terminalmage/issue43522
cmdmod: Don't list-ify string commands on Windows
2017-09-28 19:48:35 -07:00
Erik Johnson
d8708bf698
cmdmod: Don't list-ify string commands on Windows
See https://github.com/saltstack/salt/issues/43522.
2017-09-28 13:10:03 -05:00
Mike Place
ea8d273c2b Merge pull request #43768 from vutny/fix-pylint-deprecation-warnings
Fix Pylint deprecated option warnings
2017-09-28 14:27:35 +02:00
garethgreenaway
f8b3fa9da1 Merge branch '2016.11' into fix-pylint-deprecation-warnings 2017-09-27 08:40:21 -07:00
garethgreenaway
1a8cc60bb4 Merge pull request #43772 from gtmanfred/2016.11
dont print Minion not responding with quiet
2017-09-27 08:39:17 -07:00
garethgreenaway
3ebde1895f Merge branch '2016.11' into issue43373 2017-09-27 08:27:00 -07:00
Daniel Wallace
0194c60960
dont print Minion not responding with quiet 2017-09-27 08:29:41 -06:00
Denys Havrysh
651ed16ad3 Fix Pylint deprecated option warnings 2017-09-27 10:38:47 +03:00
Erik Johnson
9dee896fb9 Merge pull request #43747 from rallytime/gpg-verification
Add GPG Verification section to Contributing Docs
2017-09-26 16:25:37 -05:00
Nicole Thomas
7a70de19f4 Merge branch '2016.11' into gpg-verification 2017-09-26 16:35:29 -04:00
Nicole Thomas
1cc3ad1c8d Merge pull request #43733 from terminalmage/issue43729
Allow docker_events engine to work with newer docker-py
2017-09-26 12:47:39 -04:00
Nicole Thomas
5d38be4ff7 Merge pull request #43458 from terminalmage/issue42082
Fix missing PER_REMOTE_ONLY in cache.clear_git_lock runner
2017-09-26 10:39:00 -04:00
rallytime
23bb4a5dde
Add GPG Verification section to Contributing Docs
When we enable GPG Verification for pull request reviews, we should
make sure there is information available in our Contributing docs
about how to sign commits.
2017-09-26 10:16:56 -04:00
Nicole Thomas
e580ed4caa Merge branch '2016.11' into issue43373 2017-09-26 10:10:32 -04:00
Erik Johnson
023a563657 Merge pull request #43727 from rallytime/fix-43650
Revise "Contributing" docs: merge-forwards/release branches explained!
2017-09-26 07:43:15 -05:00
Erik Johnson
6e5c99bda0
Allow docker_events engine to work with newer docker-py
The Client attribute was renamed to APIClient in docker-py 2.0
2017-09-26 07:18:33 -05:00
Erik Johnson
5b3be6e8af
Fix failing unit test 2017-09-25 16:06:33 -05:00
Erik Johnson
5f90812b12
Fix missing PER_REMOTE_ONLY in cache.clear_git_lock runner
This allows for the runner to clear the git lock if any of the
per-remote-only params was present in the configuration.

This also adds PER_REMOTE_ONLY attributes to the winrepo runner and
git_pillar external pillar, and fixes all refs to GitBase's init_remotes
function to include PER_REMOTE_ONLY arguments. This will insulate us
against future headaches if either git_pillar or winrepo gain extra
per-remote-only params, as we will only need to make the change to the
attribute in their respective modules.
2017-09-25 15:17:47 -05:00
rallytime
babad12d83
Revise "Contributing" docs: merge-forwards/release branches explained!
Fixes #43650

The merge-forward process needs a more prominent position and explanation
in the contributing documentation. This change attempts to explain this
process a little more fully and incorporates some changes to how we are
handling "main" release branches, "dot" release branches, and "develop"
in a more complete context with merge-forwards.
2017-09-25 15:23:01 -04:00
Erik Johnson
f73764481b Add missing support for use/use_in requisites to state.sls_id
Because requisite resolution doesn't happen until we run call_high, and
state.sls_id doesn't run call_high (but rather calls a single low chunk
from the compiled low chunks), the use/use_in requisites are ignored.
This fixes that oversight by resolving requisites in state.sls_id before
we compile the high data.
2017-09-22 17:03:53 -05:00
Mike Place
f46c858f25 Merge pull request #43648 from rallytime/handle-boto-vpc-errors
Handle VPC/Subnet ID not found errors in boto_vpc module
2017-09-22 11:40:42 -06:00
Mike Place
9dba34aa06 Merge pull request #43575 from akissa/fix-csr-not-recreated-if-key-changes
Fix CSR not recreated if key changes
2017-09-21 11:52:00 -06:00
Mike Place
1d4fa48209 Merge pull request #43672 from rallytime/bp-43415
Back-port #43415 to 2016.11
2017-09-21 10:38:55 -06:00
Mike Place
ff832ee607 Merge pull request #43673 from rallytime/bp-43652
Back-port #43652 to 2016.11
2017-09-21 10:37:35 -06:00
Mike Place
365cb9fba8 Merge pull request #43677 from terminalmage/runners-docs-2016.11
Fix RST headers for runners (2016.11 branch)
2017-09-21 10:35:56 -06:00
Erik Johnson
2fd88e94fa Fix RST headers for runners (2016.11 branch)
To conform with the rest of the rst files for runner docs, they should
only contain the module name.
2017-09-21 10:11:28 -05:00
Nicole Thomas
be38239e5d Merge pull request #43534 from twangboy/win_fix_pkg.install_2016.11
Fixes removal of double-quotes by shlex_split in winrepo for 2016.11
2017-09-21 10:39:41 -04:00
Raymond Piller
d91c47c6f0 Salt Repo has Deb 9 and 8 2017-09-21 10:24:41 -04:00
matt
3fb42bc238 Fix env_order in state.py
Fixes #42165
2017-09-21 10:22:54 -04:00
Nicole Thomas
0d3fd3d374 Merge pull request #43661 from moio/2016.11-multiprocessing-doc-fix
multiprocessing minion option: documentation fixes (2016.11)
2017-09-21 09:02:26 -04:00
Silvio Moioli
625eabb83f multiprocessing minion option: documentation fixes 2017-09-21 10:55:52 +02:00
rallytime
54842b5012 Handle VPC/Subnet ID not found errors in boto_vpc module
If a VPC or Subnet ID is not found when calling functions that are
supposed to be checking for vpc/subnet ID existence, the return
should be consistent by returning booleans/None instead of returning
the NotFound error from AWS.

The surrounding code blocks indicate that this is expected as well
as unit test assertions. The moto library had a bug in it where
it wasn't raising "x.NotFound" errors when it should have been. The
latest version of moto has fixed this bug, causing our tests to fail
since the boto_vpc module is not handling the "x.NotFound" errors
separately from the generic BotoServerErrors.

This fixes the test failures in the branch tests that were caused by
upgrading the moto version to the latest release.
2017-09-20 16:58:17 -04:00
Mike Place
6b4516c025 Merge pull request #43646 from brejoc/2016.11.4-pidfile-tests
Added tests for pid-file deletion in DaemonMixIn
2017-09-20 13:21:53 -06:00
Jochen Breuer
96f39a420b Fixed linting
Fix for "String format call with un-indexed curly braces".
2017-09-20 16:35:01 +02:00
Jochen Breuer
08fba98735 Fixed several issues with the test
* Removed redundant import.
* No longer inheriting from LogSettingsParserTests.
* Replaced test class description with somethin meaninful.
* Fixed identation.

I've also moved the class to the bottom, since all the classes inheriting
from LogSettingsParserTests are in the block above.
2017-09-20 15:37:24 +02:00
Jochen Breuer
3a089e450f Added tests for pid-file deletion in DaemonMixIn
This is a follow up on this PR:
https://github.com/saltstack/salt/pull/43366

Since we can get an OSError durin PIDfile deletion with non-root users, it
would make sense to also test for this. So here are the two test cases.
One with an OSError and the other one without.
2017-09-20 14:34:30 +02:00
Mike Place
cfb1625741 Merge pull request #43591 from rallytime/merge-2016.11
[2016.11] Merge forward from 2016.11.8 to 2016.11
2017-09-19 10:18:33 -06:00
rallytime
57b9d642c2 Merge branch '2016.11.8' into '2016.11'
No conflicts.
2017-09-18 16:40:05 -04:00
Nicole Thomas
8671b91f62 Merge pull request #43572 from vutny/fix-salt-cloud-list-min-instance-set
cloud.action: list_nodes_min returns all EC2 instances
2017-09-18 16:36:43 -04:00
Mike Place
e83421694f Merge pull request #43550 from twangboy/osx_fix_preinstall_2016.11.8
Fix preinstall script on OSX for 2016.11.8
2017-09-18 12:34:11 -06:00
Andrew Colin Kissa
b1b4dafd39 Fix CSR not recreated if key changes 2017-09-18 18:05:55 +02:00
Denys Havrysh
21966e7ce8 cloud.action: list_nodes_min returns all instances 2017-09-18 16:34:59 +03:00
twangboy
1b0a4d39d2 Fix logic in /etc/paths.d/salt detection 2017-09-15 13:37:53 -06:00
twangboy
1546c1ca04 Add posix=False to call to salt.utils.shlex_split 2017-09-15 11:16:50 -06:00