Commit Graph

91101 Commits

Author SHA1 Message Date
rallytime
c7dddaf8ce
Lint: Use log variable, not logger. 2018-03-07 10:21:45 -05:00
rallytime
ca1860cd91
Use new get_umask function in mask calls in virt.py 2018-03-07 10:20:49 -05:00
rallytime
19ec7b6de1
Update old utils paths with new utils paths 2018-03-06 13:48:16 -05:00
rallytime
d83727fdf9
Merge branch '2017.7' into '2018.3'
Conflicts:
  - salt/cli/api.py
  - salt/client/ssh/wrapper/state.py
  - salt/config/__init__.py
  - salt/crypt.py
  - salt/daemons/masterapi.py
  - salt/key.py
  - salt/loader.py
  - salt/master.py
  - salt/modules/archive.py
  - salt/modules/hipchat.py
  - salt/modules/pip.py
  - salt/modules/state.py
  - salt/modules/virt.py
  - salt/modules/x509.py
  - salt/state.py
  - salt/transport/tcp.py
  - salt/transport/zeromq.py
  - salt/utils/__init__.py
  - salt/utils/event.py
  - salt/utils/extmods.py
  - salt/utils/files.py
  - salt/utils/parsers.py
  - salt/utils/verify.py
  - tests/integration/shell/test_call.py
  - tests/unit/utils/test_args.py
2018-03-06 13:45:59 -05:00
Nicole Thomas
95586678c3
Merge pull request #46394 from Ch3LL/mac_doc
Add mac py2 and py3 packages to mac installation docs
2018-03-06 11:45:29 -05:00
Ch3LL
158add6661
change oxdownload to oxdownload-{python_version} 2018-03-06 11:12:42 -05:00
Ch3LL
21aa848c89
Add mac py2 and py3 packages to mac installation docs 2018-03-06 11:09:33 -05:00
Nicole Thomas
07b5d09ac1
Merge pull request #46338 from rallytime/fix-44831
Remove cmd.wait deprecation reference in docs
2018-03-05 16:48:51 -05:00
Nicole Thomas
7690cf8564
Merge pull request #46235 from twangboy/win_fix_test_ssh
Fix `unit.modules.test_ssh` for Windows
2018-03-05 15:39:43 -05:00
Nicole Thomas
3849e7a085
Merge pull request #46333 from danlsgiga/issue-42438
Fixes color parameter mismatch and handles 204 responses correctly
2018-03-05 14:42:25 -05:00
Nicole Thomas
c4f366cdd9
Merge pull request #46332 from terminalmage/merge-forward-docs
Update the merge-forward docs to reference the 2018.3 branch
2018-03-05 14:39:55 -05:00
rallytime
90771da999
Remove cmd.wait deprecation reference in docs
There is a note about deprecating cmd.wait in the docs of the cmd state.
However, this function has not been put on an official deprecation path
and there are no plans to deprecate it. Therefore, we shouldn't have
this note in the docs.

See #44831 for more information.
2018-03-05 14:33:45 -05:00
Daniel Santos
3b13f37b44 Revert changes in the code and change docs instead 2018-03-05 10:12:47 -07:00
Daniel Santos
38114a65d8 Fixes color parameter mismatch and handles 204 responses correctly 2018-03-05 09:26:04 -07:00
Erik Johnson
0411845cec
Update the merge-forward docs to reference the 2018.3 branch
This will make the docs for 2018.3.x more coherent once the docs for
2018.3 are pushed live.
2018-03-05 10:04:30 -06:00
Nicole Thomas
a8f2f1b063
Merge pull request #46322 from terminalmage/issue44935
yamlify_arg: don't treat leading dashes as lists
2018-03-05 10:40:16 -05:00
Nicole Thomas
da5c282cb2
Merge pull request #46327 from samilaine/fix-vmware-cloud-fqdn
Modify the way a FQDN is handled in the vmware cloud provider.
2018-03-05 10:35:37 -05:00
Nicole Thomas
78c45d3786
Merge pull request #46318 from terminalmage/squelch-warnings
Skip type-checking for several gitfs/git_pillar/winrepo params
2018-03-05 10:04:26 -05:00
Nicole Thomas
bb0d6fc263
Merge pull request #46312 from gtmanfred/2017.7
add module_dirs to salt ssh thin tarball
2018-03-05 10:00:47 -05:00
Nicole Thomas
88b5f7383d
Merge pull request #46242 from redbaron4/fix-46127
Pass env_vars to pip.freeze
2018-03-05 09:53:12 -05:00
Sami Laine
4b8dfb326f Modify the way a FQDN is handled in the vmware cloud provider. 2018-03-05 11:09:34 +02:00
Erik Johnson
85ac6a9893
yamlify_arg: don't treat leading dashes as lists
We had a similar check to ensure "foo: bar" isn't loaded as a dict, this
adds a check to ensure that we only load lists when there is a leading
bracket.
2018-03-03 15:02:12 -06:00
Nicole Thomas
241611aca5
Merge pull request #46307 from rallytime/merge-2018.3
[2018.3] Merge forward from 2018.3.0rc1 to 2018.3
2018-03-03 07:56:06 -05:00
Nicole Thomas
30c34f0c62
Merge pull request #46314 from terminalmage/merge-2017.7-2018.3
Merge 2017.7 branch into 2018.3
2018-03-03 07:54:26 -05:00
Erik Johnson
5889b36646
Skip type-checking for several gitfs/git_pillar/winrepo params
In some edge cases, the branch/directory paths used here could have
values loaded as int/float/etc., which is not a problem for
salt.utils.gitfs since it normalizes these values to strings. Therefore,
this commit removes them from VALID_OPTS so that we skip type-checking
to avoid spurious warnings in the log file.
2018-03-02 20:41:29 -06:00
Erik Johnson
61ab47ee70
Merge branch '2017.7' into merge-2017.7-2018.3
Conflicts:
- salt/cloud/clouds/openstack.py
- salt/daemons/masterapi.py
- salt/master.py
- salt/modules/gentoo_service.py
- salt/pillar/__init__.py
- salt/pillar/git_pillar.py
- salt/runners/cache.py
- salt/runners/git_pillar.py
- salt/runners/winrepo.py
- salt/utils/docker/__init__.py
- salt/utils/gitfs.py
2018-03-02 16:20:20 -06:00
Nicole Thomas
a0716643e4
Merge pull request #46265 from Ch3LL/profit_cloud
Add username/password to profitbricks conf for cloud tests
2018-03-02 16:40:21 -05:00
Nicole Thomas
194b0317ac
Merge pull request #46287 from bbinet/upstream-pillarstack
Update PillarStack stack.py to latest upstream version
2018-03-02 16:39:51 -05:00
Nicole Thomas
ed7bffa7e0
Merge pull request #46306 from rallytime/bp-46256
Back-port #46256 to 2017.7
2018-03-02 16:37:26 -05:00
Daniel Wallace
749ae580ed
add module_dirs to salt ssh thin tarball
Fixes #45535
2018-03-02 14:16:05 -07:00
rallytime
c9fa21f62c
Merge branch '2018.3.0rc1' into '2018.3'
No conflicts.
2018-03-02 14:22:07 -05:00
Nicole Thomas
8c2c4e3316
Merge pull request #46208 from terminalmage/audit-umask-usage
Blacklist os.umask
2018-03-02 13:46:06 -05:00
rallytime
6439bce4a8
Don't install msgpack 0.5.5
This version has known critical issues.

See da902f9c1d (r27725642)
for more information.
2018-03-02 13:39:33 -05:00
Nicole Thomas
5ffa482343
Merge pull request #46285 from gtmanfred/2018.3.0rc1
fix return dict for salt-ssh if something goes wrong
2018-03-02 12:17:42 -05:00
Nicole Thomas
5416fcf6dc
Merge pull request #46275 from terminalmage/issue46274
Make sure rest_cherrypy's config is all str types on PY2
2018-03-02 12:15:33 -05:00
Erik Johnson
aeeb533225
Fix master conf test for PY3
PY3 should have no non-unicode strings, this was a bug in the test
2018-03-02 11:06:13 -06:00
Nicole Thomas
978e869490
Merge pull request #46293 from eliasp/2017.7-44624-py3-compat
Fix Python3 comparison `TypeError` in `salt.modules.upstart`
2018-03-02 11:36:09 -05:00
Nicole Thomas
00ca4f01c1
Merge pull request #46269 from DSRCorporation/bugs/46202_msgpack_custom_types_rework
msgpack custom types rework
2018-03-02 11:22:55 -05:00
Daniel Wallace
417e45686b
add unit test 2018-03-02 07:48:26 -07:00
Nicole Thomas
cfbead0fc7
Merge pull request #46262 from The-Loeki/fix_sysctl
sysctl.set can still not set unicode sysctl keys
2018-03-02 09:34:12 -05:00
Nicole Thomas
bee4a66d0c
Merge pull request #46264 from terminalmage/issue46128
Fix incorrect merge conflict resolution
2018-03-02 09:21:12 -05:00
Nicole Thomas
1e0b3aa348
Merge pull request #46296 from vutny/doc-pillar-get
[DOC] Add missing params to `pillar.get` docstring
2018-03-02 09:19:40 -05:00
Elias Probst
2e08b0d9c8
Fix Python3 comparison TypeError in salt.modules.upstart
Use `len()` to determine emptiness of a dictionary.

PR#44624 introduced a Python3 incompatible comparison where a dict is
compared against an integer, causing breakage on Ubuntu 18.04/bionic
which uses Python3 by default for SaltStack:

```
File "/usr/lib/python3/dist-packages/salt/modules/upstart.py", line 100, in _find_utmp
  if result > 0:
TypeError: '>' not supported between instances of 'dict' and 'int'
```
2018-03-02 14:42:05 +01:00
Denys Havrysh
1faa8331e1
[DOC] Add missing params to pillar.get docstring 2018-03-02 14:15:00 +02:00
Dmitry Kuzmenko
2f2464b64d
Fix long int support for older msgpack versions. 2018-03-02 11:03:42 +03:00
Dmitry Kuzmenko
51c311bc1c
Payload Py3 fix and set handling. 2018-03-02 06:01:42 +03:00
Erik Johnson
d29d2fa074
Fix incorrect invocation of salt.config.include_config
This was causing exit_on_config_errors to not be passed through, and
adding an `exit_on_config_errors` key to the master config.
2018-03-01 13:43:41 -06:00
Erik Johnson
2f7ae45088
Add conf file unicode test for master 2018-03-01 13:43:33 -06:00
Ronald van Zantvoort
2bf834bc28
Merge branch '2018.3.0rc1' into fix_sysctl 2018-03-01 20:42:54 +01:00
Nicole Thomas
c490a50452
Merge pull request #45874 from GwiYeong/2017.7-local-client-hotfix
fix for local client timeout bug
2018-03-01 14:39:35 -05:00