Commit Graph

87569 Commits

Author SHA1 Message Date
Erik Johnson
ec1c98f61d
Merge pull request #44445 from rallytime/fix-44435
Add a late-import for the salt.utils.master.py file in salt.auth
2017-11-10 07:03:48 -08:00
Nicole Thomas
d0ae909afc
Merge pull request #44442 from terminalmage/fix-leaked-filehandles
Use with blocks (or try/finally) to ensure filehandles are closed
2017-11-10 06:45:34 -07:00
Erik Johnson
1152f8ea08
Update reference to old salt.utils.which function 2017-11-09 15:06:25 -06:00
Erik Johnson
c1b6d35c0c
Python 3 compatibility fixes for kubernetes
dict.keys() is not a list in Python 3, and base64.b64encode requires
a bytestring.
2017-11-09 15:05:43 -06:00
Erik Johnson
b6ccfb45c8
Wait until after restoring original resource limit before removing temp files
Invoking shutil.rmtree() first was causing a traceback since the max
open files setting was still set very low for the test. This moves the
shutil.rmtree() until after we have restored the original resource
limit.
2017-11-09 15:05:43 -06:00
Erik Johnson
4eb248b129
Fix stacklevel in salt/utils/__init__.py 2017-11-09 15:05:43 -06:00
Erik Johnson
8a7d56369c
Use with blocks (or try/finally) to ensure filehandles are closed
This fixes a few sources (or potential sources) of filehandle leaks.
2017-11-09 15:05:40 -06:00
Nicole Thomas
8e99aeed6a
Merge pull request #44415 from vernondcole/vagrant_cloud_minor_revisions
Vagrant and saltify cloud minor revisions
2017-11-08 15:22:18 -07:00
Nicole Thomas
2bf0df89cd
Merge pull request #44403 from eradman/swap_total
Implement swap_total grain on OpenBSD
2017-11-08 14:48:45 -07:00
Erik Johnson
5932e8a8ae
Merge pull request #44407 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-11-08 11:50:05 -08:00
Eric Radman
26417d8e83
Add integration test for (mem|swap)_total grains on OpenBSD 2017-11-08 14:38:20 -05:00
rallytime
1c4042f438
Add a late-import for the salt.utils.master.py file in salt.auth
Fixes #44435

PR #43703 inadvertently moved a "late import" statement up to the
top of the auth file, which caused the problem reported in the PR
itself and issue #44435.

Moving the salt.utils.master import lower down in the file fixes
the issue.
2017-11-08 12:03:27 -07:00
Nicole Thomas
5aaea7f2b4
Merge pull request #44424 from mtkennerly/bugfix/issue-44423-win-path-prepend
Fix #44423: Handle index=None and index=0 distinctly in the win_path.exists state
2017-11-08 09:55:33 -07:00
Nicole Thomas
9d79551f11
Merge pull request #44433 from dave92082/fix-typo-in-lgpo-module
Fix typo in win_lgpo module
2017-11-08 09:53:13 -07:00
Matthew Kennerly
ca71d0e7c2
Merge branch 'develop' into bugfix/issue-44423-win-path-prepend 2017-11-07 20:59:32 -05:00
Nicole Thomas
aec80ee1e1
Merge pull request #44353 from prymitive/file-managed-test-changes
File managed test changes
2017-11-07 16:09:09 -07:00
Nicole Thomas
76f3c001ee
Merge pull request #44430 from thatch45/doc_fix1
make it clear that disabling the job cache is bad
2017-11-07 15:53:10 -07:00
David Suarez
95f91e618d Fix typo in win_lgpo module
Correct a typ in the win_lgpo module where policy was incorrectly spelled as 'polic'
2017-11-07 14:51:25 -08:00
Nicole Thomas
8ffe91fe44
Merge pull request #44405 from SEJeff/kubernetes-updates-v2
Kubernetes updates v2
2017-11-07 12:17:43 -07:00
Nicole Thomas
a29eeeec66
Fix a couple of small spelling errors 2017-11-07 12:16:28 -07:00
Nicole Thomas
72434918f4
Merge pull request #44420 from samodid/fix_docstrings_rendering
Fix docstrings rendering errors
2017-11-07 12:13:45 -07:00
Nicole Thomas
9251c43b50
Merge pull request #44428 from bbczeuz/bbczeuz-patch-dockertypos
Fix doc typo in docker_container/read_only
2017-11-07 11:33:48 -07:00
Thomas S Hatch
bed56e9dd7 make it clear that disableing the job cache is bad 2017-11-07 10:14:40 -07:00
Volodymyr Samodid
61abaa6ad5 fix small lint error 2017-11-07 19:14:17 +02:00
Claudius Zingerli
f8148257f9
Fix read_only doc typo
Following the examples, this should be 'rw' instead of 'ro'
2017-11-07 17:11:18 +01:00
Nicole Thomas
58d36631e1
Merge pull request #44421 from orymate/fix-salt-line-doc
fix states.file.line documentation formatting
2017-11-07 08:23:10 -07:00
Nicole Thomas
866ee6faea
Merge branch 'develop' into bugfix/issue-44423-win-path-prepend 2017-11-07 08:17:09 -07:00
Nicole Thomas
40e6d61f16
Merge pull request #44413 from sadminriley/develop
Fixed typo before libs import on common.py
2017-11-07 08:09:46 -07:00
Nicole Thomas
db7be6152f
Merge pull request #44380 from sjorge/zfs_grain_split
Split zfs related grain off into a seperate module
2017-11-07 08:07:36 -07:00
Riley
1c03d93013
Merge branch 'develop' into develop 2017-11-07 08:49:09 -05:00
sadminriley
b884429c8a Merge branch 'develop' of github.com:sadminriley/salt into develop
Conflicts:
	salt/config/schemas/common.py
2017-11-07 08:45:52 -05:00
Riley Louvier
5b65bef44a Fixed typo before libs import 2017-11-07 08:43:33 -05:00
mtkennerly
24e698ec48 Fix #44423: Handle index=None and index=0 distinctly 2017-11-07 06:52:12 -05:00
Mate Ory
840210c6db
file: fix file.line documentation formatting
There were mixed :param:s and simple paragraphs which resulted in a confusing
doc page.
2017-11-07 09:45:47 +01:00
Volodymyr Samodid
4cac95de3e Update states docstring for better auto index description 2017-11-07 10:24:56 +02:00
Volodymyr Samodid
4e3c5075e1 Update modules docstring for better auto index description 2017-11-07 10:24:56 +02:00
Volodymyr Samodid
0c7f63e9d4 fix docstring errors during rendering 2017-11-07 10:24:56 +02:00
Jorge Schrauwen
d15a0f5340 Drop zpool grains from salt.grains.core 2017-11-07 08:19:45 +01:00
Jorge Schrauwen
3af235250d Remove _zpool_data from the bsd_memdata test for grains 2017-11-07 08:17:50 +01:00
Super-User
e124fb81e9 Minor cleanup 2017-11-07 08:17:50 +01:00
Super-User
71b809c4fa Update modules to use the zfs_support grain 2017-11-07 08:17:50 +01:00
Super-User
8a4339f31c Introduce a zfs_support grain
There was some ugly duplicated logic in salt.modules.zfs and
salt.modules.zpool. This got cleaned up and moved inside salt.grain.zfs.

This way the logic gets execute less often and we can simple check for
zfs_support grain in the other locations.
2017-11-07 08:17:50 +01:00
Super-User
a31ef338ef Move zpool grains into salt.grains.zpool 2017-11-07 08:17:50 +01:00
Nicole Thomas
b6079e2b71
Merge pull request #44381 from sjorge/smartos_grain_split
Split SmartOS related grain off into a seperate module
2017-11-06 23:35:35 -07:00
Łukasz Mierzwa
475f0fe3d0
Merge branch 'develop' into file-managed-test-changes 2017-11-06 22:25:10 -08:00
Nicole Thomas
c03e997144
Merge pull request #44246 from nicholasmhughes/add-location-to-file.line-ensure
Add location support to file.line ensure
2017-11-06 22:35:18 -07:00
Vernon Cole
0f6fdb4433
soft error when no response from Vagrant ssh-config 2017-11-06 10:56:43 -07:00
Vernon Cole
0e8c1147c4
Proper error message for delete of non-answering node 2017-11-06 10:56:43 -07:00
Vernon Cole
51a15cb2fc
try to ping node before Wake on Lan 2017-11-06 10:56:41 -07:00
Eric Radman
93b44abd6c Implement swap_total grain on OpenBSD
Total swap is not reported by sysctl(8) on OpenBSD. Use swapctl(8) instead.

Signed-off-by: Eric Radman <ericshane@eradman.com>
2017-11-06 12:28:44 -05:00