These release notes are for an old release of Salt. This release might contain known security and other issues that are fixed in the latest release.

# Salt 2017.7.5 Release Notes

Version 2017.7.5 is a bugfix release for 2017.7.0.

## Statistics

- Total Merges: 213

- Total Issue References: 58

- Total PR References: 202

- Contributors: 52 (Ch3LL, DmitryKuzmenko, GwiYeong, L4rS6, SteffenKockel, The-Loeki, amendlik, andreaspe, angeloudy, aphor, bdrung, cebe, ciiqr, damon-atkins, danlsgiga, ddoh94, dmurphy18, dwoz, eliasp, frogunder, garethgreenaway, gclinch, gtmanfred, jfindlay, kstreee, marccardinal, mcalmer, mchugh19, meaksh, michelsen, nullify005, oarmstrong, oeuftete, philpep, racker-markh, rallytime, redbaron4, roaldnefs, rongshengfang, rongzeng54, rrroo, samilaine, samodid, skizunov, terminalmage, tintoy, twangboy, viktordaniel, vutny, while0pass, whytewolf, zer0def)

## Changes to `file.blockreplace` State

The `append_newline` argument was added to this state. Additionally, to improve idempotence, if the string represented by `marker_end` is found in the middle of the line, the content preceding the marker will be removed when the block is replaced. This allows one to remove `append_newline: False` from the SLS and have the block properly replaced if the end of the content block is immediately followed by the `marker_end` (i.e. no newline before the marker).

Note

This will require changes to your SLS if your `marker_end` does not include the very beginning of the content you want to keep.

See the `file.blockreplace` state documentation for further information.

## Changelog for v2017.7.4..v2017.7.5

Generated at: 2018-05-26 21:50:00 UTC

- PR #46612: (Ch3LL) Add changelog to 2017.7.5 release notes @ 2018-03-19 20:47:38 UTC

  - 19bb725698 Merge pull request #46612 from Ch3LL/7.5_rn

  - 6076bfa2ee Add changelog to 2017.7.5 release

- PR #46572: (dmurphy18) Addition of -sa flag to allow for revision numbers other than -0 or -1 @ 2018-03-19 20:07:26 UTC

  - 31c78aef11 Merge pull request #46572 from dmurphy18/update_xxxbuild

  - c87511570d Merge branch '2017.7.5' into update_xxxbuild

- ISSUE saltstack/salt-jenkins#884: (gtmanfred) [2017.7.5][Fedora 27][py2/py3] integration.states.test_npm.NpmStateTest.test_npm_install_url_referenced_package (refs: #46577)

- PR #46577: (gtmanfred) Fix npm issue @ 2018-03-19 11:51:04 UTC

  - cdd768fa4d Merge pull request #46577 from gtmanfred/2017.7.5

  - 78cbf7b5cd Fix npm issue

  - c76f7eb028 enable debug logging on the minionlog

- PR #46551: (terminalmage) Fix failing pkg integration test on OpenSUSE @ 2018-03-19 11:50:12 UTC

  - e6682c660c Merge pull request #46551 from terminalmage/salt-jenkins-885

  - 703b5e7e65 Change versionadded to show that 2018.3.0 will not have this function

  - 010d260d06 Rewrite failing Suse pkg integration test

  - f3f5dec239 zypper.py: fix version argument being ignored

  - 214f2d6ad3 Add pkg.list_repo_pkgs to zypper.py

    > - 0a541613f2 Additon of -sa flag to allow for revision numbers other than -0 or -1

- ISSUE saltstack/salt-jenkins#886: (gtmanfred) [2017.7.5][Fedora 26/Ubuntu 17.10][py3] integration.states.test_pip.PipStateTest.test_46127_pip_env_vars (refs: #46563)

- PR #46563: (gtmanfred) virtualenv version too old for python3.6 @ 2018-03-15 20:17:16 UTC

  - bd62699ccb Merge pull request #46563 from gtmanfred/2017.7.5

  - 8d5ab72983 virtualenv version too old for python3.6

- PR #46561: (gtmanfred) disable verbose @ 2018-03-15 16:36:41 UTC

  - 2916708124 Merge pull request #46561 from gtmanfred/2017.7.5

  - 2c39ac6dfb disable verbose

- PR #46537: (rallytime) Back-port #46529 to 2017.7.5 @ 2018-03-14 14:47:28 UTC

  - PR #46529: (gtmanfred) retry if there is a segfault (refs: #46537)

  - ee3bff6e32 Merge pull request #46537 from rallytime/bp-46529

  - 289c7a228f retry if there is a segfault

- PR #46519: (rallytime) Update man pages for 2017.7.5 @ 2018-03-13 20:00:51 UTC

  - 1271536a89 Merge pull request #46519 from rallytime/man-pages-2017.7.5

  - 782a5584f5 Update man pages for 2017.7.5

- ISSUE #46207: (seanjnkns) Issue #44034 still unresolved (refs: #46493)

- ISSUE #44034: (seanjnkns) salt-call pillar overrides broken in 2016.11.8 and 2017.7.2 (refs: #44483)

- PR #46493: (terminalmage) salt-call: don't re-use initial pillar if CLI overrides passed @ 2018-03-12 20:41:52 UTC

  - PR #44483: (terminalmage) salt-call: account for instances where __pillar__ is empty (refs: #46493)

  - 0e90c8ca6f Merge pull request #46493 from terminalmage/issue46207

  - f06ff68f10 salt-call: don't re-use initial pillar if CLI overrides passed

- PR #46450: (gtmanfred) load grains for salt.cmd runner @ 2018-03-12 18:52:22 UTC

  - b11a8fc8e0 Merge pull request #46450 from gtmanfred/salt_runner

  - 7974ff7264 load grains for salt.cmd runner

- ISSUE #30115: (gtmanfred) [BUG] listen does not appear to respect the special names directive (refs: #46337)

- PR #46337: (gtmanfred) Fix using names with listen and listen_in @ 2018-03-12 18:50:00 UTC

  - 22d753364b Merge pull request #46337 from gtmanfred/2017.7

  - d6d9e36359 add tests for names and listen/listen_in

  - 3f8e0db572 let listen_in work with names

  - 7161f4d4df fix listen to be able to handle names

- PR #46413: (meaksh) Explore 'module.run' state module output in depth to catch "result" properly @ 2018-03-12 18:49:07 UTC

  - b7191b8782 Merge pull request #46413 from meaksh/2017.7-explore-result-in-depth

  - 885751634e Add new unit test to check state.apply within module.run

  - 9f19ad5264 Rename and fix recursive method

  - 1476ace558 Fix Python3 and pylint issue

  - 726ca3044d Explore 'module.run' response to catch the 'result' in depth

- PR #46496: (gtmanfred) more test kitchen clean up @ 2018-03-12 18:28:34 UTC

  - 02a79a2014 Merge pull request #46496 from gtmanfred/kitchen

  - da002f78d0 include virtualenv path for py3 windows

  - fe2efe03ea remove duplicate setup

- ISSUE #46329: (bdrung) test_create_deployments fails with python-kubernetes 4.0.0 (refs: #46330)

- PR #46330: (bdrung) Fix ValueError for template in AppsV1beta1DeploymentSpec @ 2018-03-12 16:56:18 UTC

  - 5c4c182d75 Merge pull request #46330 from bdrung/fix_kubernetes_test_create_deployments

  - 5008c53c44 Fix ValueError for template in AppsV1beta1DeploymentSpec

- ISSUE #46479: (rongshengfang) boto_ec2.instance_present throwing KeyError exception when associating EIP to an existing instance (refs: #46482)

- PR #46482: (rongshengfang) Fix KeyError in salt/states/boto_ec2.py @ 2018-03-12 15:13:13 UTC

  - c7e05d3ff4 Merge pull request #46482 from rongshengfang/fix-keyerror-in-instance_present

  - ed8c83e89a Fix KeyError in salt/states/boto_ec2.py when an EIP is being associated to an existing instance with the instance_present state.

- PR #46463: (terminalmage) Update requirements files to depend on mock>=2.0.0 @ 2018-03-09 19:24:41 UTC

  - 573d51afec Merge pull request #46463 from terminalmage/mock-2.0

  - b958b4699c Update requirements files to depend on mock>=2.0.0

- ISSUE #46299: (gclinch) debconf module fails on Python 3 (refs: #46300)

- PR #46422: (rallytime) Back-port #46300 to 2017.7 @ 2018-03-09 19:19:25 UTC

  - PR #46300: (gclinch) Python 3 support for debconfmod (fixes #46299) (refs: #46422)

  - a154d35fc7 Merge pull request #46422 from rallytime/bp-46300

  - 829dfde8e8 Change stringutils path to old utils path for 2017.7

  - 91db2e0782 Python 3 support

- PR #46320: (mcalmer) add warning about future config option change @ 2018-03-09 17:48:29 UTC

  - 2afaca17a1 Merge pull request #46320 from mcalmer/warn-kubernetes

  - c493ced415 add warning about future config option change

- PR #46449: (bdrung) Make documentation theme configurable @ 2018-03-09 17:47:15 UTC

  - c7f95581e3 Merge pull request #46449 from bdrung/make-doc-theme-configurable

  - 4a5da2d144 Make documentation theme configurable

- PR #46162: (rallytime) Add team-suse to CODEOWNERS file for zypper files @ 2018-03-09 17:46:13 UTC

  - 10ce0e9e20 Merge pull request #46162 from rallytime/team-suse-zypper-owner

  - 13a295a3b7 Add pkg and snapper to team-suse

  - 35c7b7b0d3 Add btrfs, xfs, yumpkg, and kubernetes file to team-suse

  - 485d777ac0 Add team-suse to CODEOWNERS file for zypper files

- PR #46434: (gtmanfred) split return key value correctly @ 2018-03-09 17:45:21 UTC

  - cac096b311 Merge pull request #46434 from gtmanfred/highstate_return

  - d18f1a55a7 fix pylint

  - 9e2c3f7991 split return key value correctly

- ISSUE #44452: (konstest) salt-cloud can't create snapshots, because there is a bug in the Unicode name of the virtual machine (refs: #46455)

- PR #46455: (whytewolf) .format remove fix for #44452 @ 2018-03-09 17:37:19 UTC

  - 7dd71101ce Merge pull request #46455 from whytewolf/Issue_44452_unicode_cloud

  - 5fe474b1a8 .format remove fix for #44452

- PR #46428: (twangboy) Fix issue with dev env install on Windows @ 2018-03-09 14:52:46 UTC

  - 4c8d9026d3 Merge pull request #46428 from twangboy/win_fix_reqs

  - e7ab97cc17 Remove six as a hard dep for Salt

  - cc67e5c2ef Set six to 1.11.0

- PR #46454: (gtmanfred) fix windows for kitchen @ 2018-03-08 21:19:31 UTC

  - e834d9a63b Merge pull request #46454 from gtmanfred/kitchen

  - b8ab8434a5 fix windows for kitchen

- ISSUE #46451: (gmacon) SPM fails to start with customized cache location (refs: #46452)

- PR #46452: (gtmanfred) make spm cache_dir instead of all cachedirs @ 2018-03-08 21:12:20 UTC

  - 2886dca88f Merge pull request #46452 from gtmanfred/spm_cache_dir

  - 169cf7a4e2 make spm cache_dir instead of all cachedirs

- PR #46446: (bdrung) Fix various typos @ 2018-03-08 21:11:47 UTC

  - a188984cd9 Merge pull request #46446 from bdrung/fix-typos

  - 7e6e80be87 heat: Fix spelling mistake of environment

  - a3c54b50f6 Fix various spelling mistakes

- ISSUE #20581: (notpeter) Many environments: one pillar_root (all your envs are belong to base) (refs: #46309)

- PR #46309: (bdrung) Support dynamic pillar_root environment @ 2018-03-08 19:15:35 UTC

  - e35fc5263c Merge pull request #46309 from bdrung/dynamic-pillarenv

  - 584b451fd1 Support dynamic pillar_root environment

- ISSUE #44032: (PhilippeAB) blockreplace marker_end isn't applied with newline (refs: #46430)

- PR #46430: (terminalmage) Improve reliability/idempotence of file.blockreplace state @ 2018-03-08 15:41:38 UTC

  - 35fe9827fe Merge pull request #46430 from terminalmage/issue44032

  - f9f187e915 Improve reliability/idempotence of file.blockreplace state

- PR #46429: (twangboy) Fix problem with __virtual__ in win_snmp @ 2018-03-07 23:26:46 UTC

  - 2bad0a21c0 Merge pull request #46429 from twangboy/win_fix_snmp

  - 8995a9b8de Fix problem with __virtual__ in win_snmp

- PR #46100: (jfindlay) Handle IPv6 scope parameter in resolv.conf @ 2018-03-07 19:51:20 UTC

  - 93a572f229 Merge pull request #46100 from jfindlay/resolv_scope

  - d5561bedaf tests.unit.grains.core add scoped IPv6 nameserver

  - 4e2e62d508 salt.utils.dns parse scope param for ipv6 servers

- PR #46420: (bdrung) Fix SSH client exception if SSH is not found @ 2018-03-07 17:49:00 UTC

  - 5acc1d5c54 Merge pull request #46420 from bdrung/2017.7

  - e48c13d9e0 Fix SSH client exception if SSH is not found

- PR #46379: (angeloudy) TypeError: a bytes-like object is required, not 'str' @ 2018-03-07 15:00:47 UTC

  - ca6a76e317 Merge pull request #46379 from angeloudy/2017.7

  - 3acb59c74c Merge branch '2017.7' into 2017.7

  - d971e0c08b Fix indent

  - 269514683f Update http.py

  - 908c040ac3 Update http.py

  - 51ba3c135b Update http.py

  - 14aba24111 fix bytes-object required error in python 3

- PR #46404: (gtmanfred) get 2017.7 ready to switch over to the new jenkins @ 2018-03-07 14:29:30 UTC

  - 73f9233557 Merge pull request #46404 from gtmanfred/kitchen

  - c56baa95a8 clone .git for the version tests

  - 3620611b5b fix unhold package for debian

  - 5219f7d2ba fix minion log path

- ISSUE #46192: (asymetrixs) salt-log-setup: AttributeError 'NoneType' object has no attribute 'flush' (refs: #46310)

- PR #46310: (twangboy) Update the Windows installer build scripts @ 2018-03-06 20:21:58 UTC

  - ca28cfd4e4 Merge pull request #46310 from twangboy/win_update_installer_build

  - bcf8b19566 Update the installer build

- PR #46316: (twangboy) Fix issues with the DSC module @ 2018-03-06 20:16:18 UTC

  - decccbeca3 Merge pull request #46316 from twangboy/win_fix_dsc

  - 2042d33d59 Fix issues with the DSC module

- PR #46394: (Ch3LL) Add mac py2 and py3 packages to mac installation docs @ 2018-03-06 16:45:30 UTC

  - 95586678c3 Merge pull request #46394 from Ch3LL/mac_doc

  - 158add6661 change oxdownload to oxdownload-{python_version}

  - 21aa848c89 Add mac py2 and py3 packages to mac installation docs

- ISSUE #44831: (kivoli) cmd.wait deprecated but cannot replicate conditional execution with onchanges (refs: #46338)

- PR #46338: (rallytime) Remove cmd.wait deprecation reference in docs @ 2018-03-05 21:48:52 UTC

  - 07b5d09ac1 Merge pull request #46338 from rallytime/fix-44831

  - 90771da999 Remove cmd.wait deprecation reference in docs

- ISSUE #42438: (ajoaugustine) Failed to send message: hipchat-message (refs: #46333)

- PR #46333: (danlsgiga) Fixes color parameter mismatch and handles 204 responses correctly @ 2018-03-05 19:42:26 UTC

  - 3849e7a085 Merge pull request #46333 from danlsgiga/issue-42438

  - 3b13f37b44 Revert changes in the code and change docs instead

  - 38114a65d8 Fixes color parameter mismatch and handles 204 responses correctly

- ISSUE #44935: (grinapo) module.file.replace string seems to be mutated into arrays (refs: #46322)

- PR #46322: (terminalmage) yamlify_arg: don't treat leading dashes as lists @ 2018-03-05 15:40:17 UTC

  - a8f2f1b063 Merge pull request #46322 from terminalmage/issue44935

  - 85ac6a9893 yamlify_arg: don't treat leading dashes as lists

- PR #46327: (samilaine) Modify the way a FQDN is handled in the vmware cloud provider. @ 2018-03-05 15:35:37 UTC

  - da5c282cb2 Merge pull request #46327 from samilaine/fix-vmware-cloud-fqdn

  - 4b8dfb326f Modify the way a FQDN is handled in the vmware cloud provider.

- PR #46318: (terminalmage) Skip type-checking for several gitfs/git_pillar/winrepo params @ 2018-03-05 15:04:27 UTC

  - 78c45d3786 Merge pull request #46318 from terminalmage/squelch-warnings

  - 5889b36646 Skip type-checking for several gitfs/git_pillar/winrepo params

- ISSUE #45535: (whytewolf) module_dirs left out salt-ssh, leaving custom ext_pillars and modules out of salt-ssh (refs: #46312)

- PR #46312: (gtmanfred) add module_dirs to salt ssh thin tarball @ 2018-03-05 15:00:48 UTC

  - bb0d6fc263 Merge pull request #46312 from gtmanfred/2017.7

  - 749ae580ed add module_dirs to salt ssh thin tarball

- ISSUE #46127: (redbaron4) pip.installed does not pass env_vars when calling freeze to check if package is already installed (refs: #46242)

- PR #46242: (redbaron4) Pass env_vars to pip.freeze @ 2018-03-05 14:53:13 UTC

  - 88b5f7383d Merge pull request #46242 from redbaron4/fix-46127

  - 06dba51617 Make changes from review

  - 727ebe1056 Merge branch '2017.7' into fix-46127

  - 08d1ee8baf Fix Python3 test errors

  - aa9d709015 Pass env_vars to pip.freeze

- PR #46265: (Ch3LL) Add username/password to profitbricks conf for cloud tests @ 2018-03-02 21:40:22 UTC

  - a0716643e4 Merge pull request #46265 from Ch3LL/profit_cloud

  - d4893eab4c Add username/password to profitbricks conf for cloud tests

- PR #46306: (rallytime) Back-port #46256 to 2017.7 @ 2018-03-02 21:37:26 UTC

  - PR #46256: (rallytime) Don't install msgpack 0.5.5 (refs: #46306)

  - ed7bffa7e0 Merge pull request #46306 from rallytime/bp-46256

  - 6439bce4a8 Don't install msgpack 0.5.5

- PR #46208: (terminalmage) Blacklist os.umask @ 2018-03-02 18:46:07 UTC

  - 8c2c4e3316 Merge pull request #46208 from terminalmage/audit-umask-usage

  - 9c92aadce8 Disable blacklisted-function check for legitimate uses

  - 58a11aaa26 Disable pylint check in salt-ssh shim

  - ecadf67659 Blacklist os.umask

  - 31b1d98fcb Replace direct use of os.umask with use of existing context manager

  - 82ce546e18 Prevent failed os.makedirs from leaving modified umask in place

- PR #46293: (eliasp) Fix Python3 comparison TypeError in salt.modules.upstart @ 2018-03-02 16:36:10 UTC

  - PR #44624: (eliasp) Fix Traceback when using the service.enabled state on non-booted systems (refs: #46293)

  - 978e869490 Merge pull request #46293 from eliasp/2017.7-44624-py3-compat

  - 2e08b0d9c8 Fix Python3 comparison TypeError in salt.modules.upstart

- ISSUE #46128: (Boulet-) Mountpoint in git_pillar (refs: #46264)

- PR #46264: (terminalmage) Fix incorrect merge conflict resolution @ 2018-03-02 14:21:13 UTC

  - bee4a66d0c Merge pull request #46264 from terminalmage/issue46128

  - 68000b7211 Fix incorrect merge conflict resolution

- PR #46296: (vutny) [DOC] Add missing params to pillar.get docstring @ 2018-03-02 14:19:41 UTC

  - 1e0b3aa348 Merge pull request #46296 from vutny/doc-pillar-get

  - 1faa8331e1 [DOC] Add missing params to pillar.get docstring

- PR #45874: (GwiYeong) fix for local client timeout bug @ 2018-03-01 19:39:35 UTC

  - c490a50452 Merge pull request #45874 from GwiYeong/2017.7-local-client-hotfix

  - 949aefc82b Merge branch '2017.7' into 2017.7-local-client-hotfix

  - 45d663f435 fix for local client timeout bug

- PR #46261: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-03-01 17:55:23 UTC

  - 8e8a3a2897 Merge pull request #46261 from rallytime/merge-2017.7

  - 8256ae5ee5 Merge branch '2016.11' into '2017.7'

    - 140ef4d6b9 Merge pull request #46253 from rallytime/doc-banners

      - 07ed8c7db3 Update docbanner for SaltConf18

    - 9fe86ee520 Merge pull request #46179 from wedge-jarrad/cifs-remount-fix

      - 9ca25c4313 Add credentials and secretfile to mount.mounted mount_invisible_keys

- ISSUE #44046: (t2b) docker_container.running states fail if the argument ulimits is set and a watch requisite is triggered (refs: #46276)

- PR #46276: (terminalmage) salt.utils.docker.translate_input: operate on deepcopy of kwargs @ 2018-03-01 15:37:44 UTC

  - 88a3166589 Merge pull request #46276 from terminalmage/issue44046

  - a14d4daf8c salt.utils.docker.translate_input: operate on deepcopy of kwargs

- ISSUE #46182: (oeuftete) docker_container.running is sensitive to HostConfig Ulimits ordering (refs: #46183)

- PR #46183: (oeuftete) Fix docker_container.running HostConfig Ulimits comparison @ 2018-02-28 22:22:11 UTC

  - da60399b8f Merge pull request #46183 from oeuftete/fix-docker-container-running-host-config-ulimits

  - 5b09644429 Sort lists from Ulimits before comparing

  - 0b80f02226 Update old dockerng doc ref

- ISSUE #46259: (terminalmage) git_pillar_branch overrides branch defined in git_pillar configuration (refs: #46260)

- ISSUE #46258: (terminalmage) git_pillar_base doesn't work for values when PyYAML loads them as int/float (refs: #46260)

- PR #46260: (terminalmage) Normalize global git_pillar/winrepo config items @ 2018-02-28 22:05:26 UTC

  - 509429f08c Merge pull request #46260 from terminalmage/git_pillar

  - b1ce2501fd Normalize global git_pillar/winrepo config items

- PR #46101: (jfindlay) In OpenRC exec module, make sure to ignore retcode on status @ 2018-02-28 20:01:37 UTC

  - a97a3e6fb0 Merge pull request #46101 from jfindlay/openrc_ret

  - 2eef3c65a6 tests.unit.modules.gentoo_service add retcode arg

  - 81ec66fd8b modules.gentoo_service handle stopped retcode

- PR #46254: (rallytime) Update enterprise banner @ 2018-02-28 19:54:03 UTC

  - 1a17593c05 Merge pull request #46254 from rallytime/enterprise-banner

  - f5fae3dedf Update enterprise banner

- PR #46250: (terminalmage) Add documentation to the fileserver runner @ 2018-02-28 18:53:49 UTC

  - 8c50ff32bd Merge pull request #46250 from terminalmage/runner-docs

  - 91b4895087 Add documentation to the fileserver runner

- ISSUE #46215: (racker-markh) salt-cloud will only intermittently build rackspace cloud instances with purely private networks (refs: #46243)

- PR #46243: (racker-markh) Don't ignore 'private_ips' unnecessarily @ 2018-02-28 15:28:29 UTC

  - 53067cca43 Merge pull request #46243 from racker-markh/fix-openstack-private-network-issue

  - 50c1e140f0 Don't check deny private_ips already in the original list of private_ips

- ISSUE #46109: (rombert) archive.extracted takes a long time (> 4 minutes) even though directory exists (refs: #46239)

- PR #46239: (terminalmage) archive.extracted: don't check source file when if_missing path exists @ 2018-02-28 15:01:36 UTC

  - 15405c8760 Merge pull request #46239 from terminalmage/issue46109

  - 586d8b0dcf archive.extracted: don't check source file when if_missing path exists

- PR #46221: (terminalmage) Fix hanging tests in integration suite @ 2018-02-27 21:32:25 UTC

  - 633e1208e4 Merge pull request #46221 from terminalmage/salt-jenkins-854

  - 0eb012659c Fix hanging tests in integration suite

- PR #46214: (vutny) [DOC] Replace note rST block for GitHub @ 2018-02-27 17:42:37 UTC

  - 7917277345 Merge pull request #46214 from vutny/formulas-readme-formatting

  - d702846961 [DOC] Replace note rST block for GitHub

- PR #46203: (Ch3LL) Add 2017.7.5 Release Notes File @ 2018-02-26 21:17:48 UTC

  - a2e099b744 Merge pull request #46203 from Ch3LL/7.5_release

  - 6ddf3246ce Add 2017.7.5 Release Notes File

- PR #46201: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-02-26 18:56:47 UTC

  - 973b227818 Merge pull request #46201 from rallytime/merge-2017.7

  - 9ac2101baa Merge branch '2016.11' into '2017.7'

  - a4c5417d23 Merge pull request #46132 from rallytime/2016.11_update_version_doc

    - d2196b6df3 Update release versions for the 2016.11 branch

- ISSUE #34423: (bdrung) oscodename wrong on Debian 8 (jessie) (refs: #46139)

- PR #46139: (bdrung) Add os grains test cases for Debian/Ubuntu and fix oscodename on Ubuntu @ 2018-02-26 16:44:04 UTC

  - 89cf2e5061 Merge pull request #46139 from bdrung/os-grains

  - 0b445f2a37 tests: Add unit tests for _parse_os_release()

  - f6069b77ed Fix osfinger grain on Debian

  - 8dde55a761 tests: Add os_grains test cases for Debian

  - ff02ab9937 tests: Add Ubuntu 17.10 (artful) os_grains test case

  - 77d5356aba Fix incorrect oscodename grain on Ubuntu

  - 7e62dc9fd2 tests: Support reading os-release files from disk

  - a92ec0db1b Make _parse_os_release() always callable

  - eee1fe5b38 tests: Dissolve _run_ubuntu_os_grains_tests

  - 1d6ef731fe tests: Deduplicate _run_os_grains_tests()

- PR #46133: (rallytime) Update release versions for the 2017.7 branch @ 2018-02-26 16:42:43 UTC

  - c8c71e75ca Merge pull request #46133 from rallytime/2017.7_update_version_doc

  - 0ed338e643 Update release versions for the 2017.7 branch

- ISSUE #46124: (moremo) GitFS saltenv ref won't pick up multiple of the same ref (refs: #46185)

- PR #46185: (terminalmage) gitfs: Fix detection of base env when its ref is also mapped to a different env @ 2018-02-26 14:52:16 UTC

  - 390d592aa6 Merge pull request #46185 from terminalmage/issue46124

  - 3b58dd0da0 gitfs: Fix detection of base env when its ref is also mapped to a different env

- PR #46148: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-02-23 19:21:38 UTC

  - 705caa8cca Merge pull request #46148 from rallytime/merge-2017.7

  - 25deebf7a6 Merge branch '2017.7.3' into '2017.7'

- PR #46137: (damon-atkins) [2017.7] update ec2 pillar arguments with better names @ 2018-02-23 13:32:04 UTC

  - PR #45878: (damon-atkins) ec2_pillar update to fix finding instance-id (refs: #46137)

  - 10a47dcbc4 Merge pull request #46137 from damon-atkins/2017.7_fix_ec2_pillar2

  - 99e7f6a7d3 update ec2 pillar arguments with better names

- ISSUE #46004: (github-abcde) opts file_roots gets overwritten with pillar_roots in orchestration run (refs: #46145)

- PR #46145: (terminalmage) 3 small fixes for runners/orchestration @ 2018-02-22 22:11:11 UTC

  - d74cb14557 Merge pull request #46145 from terminalmage/issue46004

  - 467ff841cd pillarenv argument should default to None and not the value from opts

  - 2a185855ea Better solution for fixing the opts munging in pillar.show_pillar runner

  - e2c4702e0c Update tests to reflect changes to the SaltCacheLoader

  - f9301fcc34 Document behavior when orchestration runnner invoked with non-orch states

  - 9644579cd0 Instantiate the SaltCacheLoader's fileclient in the __init__

  - f9a6c86e21 salt.runners.pillar.show_pillar: don't modify master opts

  - e0940a9fc4 Properly detect use of the state.orch alias and add orch jid to kwargs

- PR #46135: (rallytime) Back-port #46088 to 2017.7 @ 2018-02-22 15:11:14 UTC

  - PR #46088: (rongzeng54) fix kernel subpackages install bug (refs: #46135)

  - 0398ce0482 Merge pull request #46135 from rallytime/bp-46088

  - 57a60f62a3 fix kernel subpackages install bug

- ISSUE #45837: (johje349) Salt Cloud does not recognise all Digitalocean sizes (refs: #46115)

- PR #46136: (rallytime) Back-port #46115 to 2017.7 @ 2018-02-21 19:17:23 UTC

  - PR #46115: (samodid) update digitalocean salt-cloud driver (refs: #46136)

  - 1fcbbd1e02 Merge pull request #46136 from rallytime/bp-46115

  - 0a481d707f update digitalocean salt-cloud driver

- PR #45911: (twangboy) LGPO Module: Convert reg values to unicode for debug @ 2018-02-21 19:02:17 UTC

  - 11e5e8eb86 Merge pull request #45911 from twangboy/win_fix_lgpo_unicode

  - bcde5cc625 Update log statement

  - e9fa53d3b7 Change the Invalid Data Message

  - c818d4b791 Convert reg values to unicode for debug

- ISSUE #46085: (zmedico) 2017.7.3 salt master with "open_mode: True" becomes unresponsive if minion submits empty public key (refs: #46123)

- PR #46123: (gtmanfred) If no pubkey is passed in openmode fail @ 2018-02-21 19:01:47 UTC

  - 524a6a72a0 Merge pull request #46123 from gtmanfred/2017.7

  - 8d36730ef7 If no pubkey is passed in openmode fail

- PR #46131: (vutny) [DOC] Fix code-blocks for reStructuredText @ 2018-02-21 15:47:05 UTC

  - e48fa58012 Merge pull request #46131 from vutny/doc-formula-formatting

  - d8fb051e44 [DOC] Fix code-blocks for reStructuredText

- ISSUE #42763: (xuhcc) acme.cert state falsely reports about renewed certificate (refs: #44603)

- ISSUE #40208: (bewing) Inconsistent state return when test=True (refs: #44603)

- PR #46118: (rallytime) Back-port #44603 to 2017.7 @ 2018-02-21 15:21:42 UTC

  - PR #44603: (oarmstrong) Fix acme state to correctly return on test (refs: #46118)

  - 6cea44ee95 Merge pull request #46118 from rallytime/bp-44603

  - 2a2c23c66b Fix acme state to correctly return on test

- PR #46121: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-02-21 10:07:18 UTC

  - 16c382b55b Merge pull request #46121 from rallytime/merge-2017.7

  - 4c2f504a85 Merge branch '2016.11' into '2017.7'

    - e197a0fbc5 Merge pull request #46076 from rallytime/bp-46066

      - b94d73c53e Pin tornado version in requirements file

    - c72c1bde5f Merge pull request #46093 from wedge-jarrad/contributing-doc-typo

      - 5a0fe104f7 Fix contributing doc typo

    - 3cb83ea87e Merge pull request #45992 from bgridley/fix-routes-present-state

      - 679787699c Add vpc_peering_connection_id to describe_route_tables route_keys

    - 8a60635da0 Merge pull request #46000 from terminalmage/issue45910

      - 8cf13325ee salt.states.reg.present: Prevent traceback when reg data is binary

    - 1f44e285dc Merge pull request #46011 from terminalmage/fix-solaris-runas

      - 8ee0a3a28b Move Solaris USER workaround up a bit

      - 13cdb52690 cmdmod.py: runas workaround for platforms that don't set a USER env var

    - 30fb8f7be0 Merge pull request #45467 from twangboy/win_exclude_hidden

      - ea41215646 Make the regex pattern less greedy

      - 6d223cffa7 Add tip about passing bogus saltenv

      - 1282ae3a93 Skip hidden first

      - 437a457911 Skip hidden dirs in genrepo

      - 87dc554dc3 Add final updates to docs

      - 3646d5c897 Fix some docs formatting, add some warnings

      - 35c81faf5a Log the source_dir when caching the files

      - 91c3da8dfd Improve docs for pkg.refresh_db

      - 4803d92707 Add some documentation

      - 08b82e0875 Fix lint error, use raw

      - 2f712691cf Exclude hidden directories in pkg.refresh_db

- ISSUE #46106: (amendlik) yumpkg.refresh_db hangs (refs: #46107)

- PR #46107: (amendlik) Add --assumeyes on YUM/DNF commands @ 2018-02-20 22:52:06 UTC

  - b92346645b Merge pull request #46107 from amendlik/yumpkg-assumeyes

  - 8d9a432fb2 Add --assumeyes to yum/dnf commands in yumpkg.refresh_db

- PR #46094: (kstreee) Fix memory leak @ 2018-02-20 21:36:02 UTC

  - 14fe423e0c Merge pull request #46094 from kstreee/fix-memory-leak

  - 48080a1bae Fixes memory leak, saltclients should be cleaned after used.

  - aba00805f4 Adds set_close_callback function to removes stream instance after closed from a set streams.

- ISSUE #13: (thatch45) Expand the stats module (refs: #46097)

- PR #46097: (vutny) [DOC] Put https link to the formulas doc page @ 2018-02-20 17:07:39 UTC

  - 320c2037e1 Merge pull request #46097 from vutny/fix-https-link

  - 2062fd0e5c [DOC] Put https link to the formulas doc page

- PR #46103: (bdrung) Fix skipping Kubernetes tests if client is not installed @ 2018-02-20 16:33:42 UTC

  - 0eb137fb4e Merge pull request #46103 from bdrung/2017.7

  - dd3f936557 Fix skipping Kubernetes tests if client is not installed

- PR #46070: (Ch3LL) add required arg to dns_check jinja doc example @ 2018-02-16 20:00:44 UTC

  - c3a938e994 Merge pull request #46070 from Ch3LL/fix-doc-dns

  - 2a5d855d97 add required arg to dns_check jinja doc example

- PR #46067: (rallytime) Back-port #45994 to 2017.7 @ 2018-02-16 19:55:27 UTC

  - PR #45994: (nullify005) Fix hosted zone Comment updates & quote TXT entries correctly (refs: #46067)

  - 01042e9d77 Merge pull request #46067 from rallytime/bp-45994

  - a07bb48726 Correct formatting for lint

  - e8678f633d Fix Comment being None not '' and inject quotes into the TXT ChangeRecords

- ISSUE #42932: (bobrik) cmd.run with bg: true doesn't fail properly (refs: #45932)

- PR #45932: (The-Loeki) Fix cmd run_all bg error @ 2018-02-16 14:53:15 UTC

  - PR #39980: (vutny) [2016.3] Allow using bg kwarg for cmd.run state function (refs: #45932)

  - 5e0e2a30e2 Merge pull request #45932 from The-Loeki/fix_cmd_run_all_bg

  - f83da27ca5 Merge branch '2017.7' into fix_cmd_run_all_bg

  - 771758fbca Merge branch '2017.7' into fix_cmd_run_all_bg

  - c54fcf7a2d cmd: move separate DRY logging blocks into _run, prevent logging on bg=True, don't use_vt on bg

  - ebb1f81a9b cmd run: when running in bg, force ignore_retcode=True

- PR #46062: (vutny) Fix typo in postgres_user.present state function @ 2018-02-16 14:44:29 UTC

  - 45ace39961 Merge pull request #46062 from vutny/pg-user-state-fix-typo

  - a5fbe4e95e Fix typo in postgres_user.present state function

- PR #45763: (twangboy) Fix rehash function in win_path.py @ 2018-02-15 20:05:16 UTC

  - edcb64de76 Merge pull request #45763 from twangboy/win_fix_path_rehash

  - b9a2bc7b29 Fix hyperlinks

  - 29912adc15 Move the test_rehash test to test_win_functions

  - adc594c183 Remove duplicate link

  - e84628c1eb Add some comments to the code

  - d50d5f582f Add additional info to docs for broadcast_setting_change

  - 3a54e09cd9 Rename setting to message

  - a3f9e99bc0 Change to a generic function to broadcast change

  - 79299361c3 Create refresh_environment salt util

  - 967b83940c Fix rehash function

- PR #46042: (jfindlay) Revise file_tree pillar module documentation @ 2018-02-15 19:29:52 UTC

  - PR #46027: (jfindlay) Revise file_tree pillar module documentation (refs: #46042)

  - a46fbc546c Merge pull request #46042 from jfindlay/file_tree_doc

  - 0ba4954a4b salt.pillar.file_tree revise module documentation

  - 3c6a5bf967 salt.pillar.file_tree provide better debug info

  - bb1cdc451e salt.pillar.file_tree no stack trace when nodegroups undefined

- PR #46013: (rallytime) Back-port #45598 to 2017.7 @ 2018-02-15 16:11:05 UTC

  - PR #45598: (nullify005) Patch around ResourceRecords needing to be present for AliasTarget (refs: #46013)

  - de86126dd8 Merge pull request #46013 from rallytime/bp-45598

  - 2ea3fef543 No lazy logging

  - f427b0febc Change formatting style of logging lines per review

  - ebb244396b Patch around ResourceRecords needing to be present for AliasTarget entries to work

- ISSUE #45825: (philpep) selinux.fcontext_policy_present doesn't work on Centos 6 with filetype = all files (refs: #45826)

- PR #46016: (rallytime) Back-port #45826 to 2017.7 @ 2018-02-14 18:16:24 UTC

  - PR #45826: (philpep) Fix selinux.fcontext_policy_present for Centos 6 (refs: #46016)

  - 07e5735471 Merge pull request #46016 from rallytime/bp-45826

  - 1916e5c4a4 Fix selinux.fcontext_policy_present for Centos 6

- ISSUE #45784: (oarmstrong) SELinux module fcontext_get_policy fails with long regex (refs: #45785)

- PR #46015: (rallytime) Back-port #45785 to 2017.7 @ 2018-02-14 18:16:09 UTC

  - PR #45785: (oarmstrong) m/selinux.fcontext_get_policy allow long filespecs (refs: #46015)

  - a1f4092811 Merge pull request #46015 from rallytime/bp-45785

  - ef6ffb1492 Resolve linting errors

  - 8047066c46 Remove unused import

  - 8f7c45935a Add tests for salt.modules.selinux.fcontext_get_policy

  - bafb7b4e6e Ensure parsed fields are stripped

  - a830a6e819 m/selinux.fcontext_get_policy allow long filespecs

- PR #46012: (rallytime) Back-port #45462 to 2017.7 @ 2018-02-14 18:14:56 UTC

  - PR #45462: (aphor) emit port cli version, variants as separate args (refs: #46012)

  - 96097c037e Merge pull request #46012 from rallytime/bp-45462

  - 9f76836a6c emit port cli version, variants as separate args

- PR #45991: (terminalmage) yumpkg: Fix a couple issues with _get_extra_opts @ 2018-02-14 16:48:28 UTC

  - 1279924f5f Merge pull request #45991 from terminalmage/fix-duplicate-extra-opts

  - 916766f651 yumpkg: Fix a couple issues with _get_extra_opts

- PR #46017: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-02-13 21:43:15 UTC

  - 8b9adc258e Merge pull request #46017 from rallytime/merge-2017.7

  - a06645ce71 Merge branch '2017.7.3' into '2017.7'

- ISSUE #45796: (L4rS6) aliases module doesn't follow symlinks (refs: #45797)

- PR #45988: (rallytime) Back-port #45797 to 2017.7 @ 2018-02-13 17:49:02 UTC

  - PR #45797: (L4rS6) follow symlinks in aliases module (close #45796) (refs: #45988)

  - d20ff89414 Merge pull request #45988 from rallytime/bp-45797

  - 953a400d79 follow symlinks

- PR #45711: (bdrung) Fix Unicode tests when run with LC_ALL=POSIX @ 2018-02-13 17:42:07 UTC

  - b18087cee0 Merge pull request #45711 from bdrung/fix-unicode-tests

  - b6181b5ed6 Fix Unicode tests when run with LC_ALL=POSIX

- PR #45878: (damon-atkins) ec2_pillar update to fix finding instance-id (refs: #46137) @ 2018-02-13 17:34:14 UTC

  - 5271fb1d40 Merge pull request #45878 from damon-atkins/2017.7_fix_ec2_pillar

  - 0e74025714 Merge branch '2017.7' into 2017.7_fix_ec2_pillar

  - b4d0b23891 py3 fix

  - 75d9e20d8a Add ignoring 'terminated', 'stopped' instances, to improve changes of a single match

  - 0093472a37 added tag_key_list and tag_key_sep to create ec2_tags_list

  - afb3968aa7 ec2_pillar could not find instance-id, resolved. add support to use any tag to compare minion id against.

- PR #45942: (terminalmage) Fix incorrect translation of docker port_bindings -> ports (2017.7 branch) @ 2018-02-13 16:10:03 UTC

  - cf367dbd04 Merge pull request #45942 from terminalmage/issue45679-2017.7

  - 89cbd72a0d Don't try to sort ports when translating docker input

  - 9cd47b39dd Fix incorrect translation of docker port_bindings -> ports

- PR #45959: (rallytime) A couple of grammar updates for the state compiler docs @ 2018-02-12 22:17:49 UTC

  - dae41de7a8 Merge pull request #45959 from rallytime/state-doc-update

  - 6f781cb95d A couple of grammar updates for the state compiler docs

- ISSUE saltstack/salt#45884: (tintoy) "TypeError: can't serialize <NodeImage" when calling salt-cloud with the dimensiondata driver (refs: #45908)

- ISSUE #45884: (tintoy) "TypeError: can't serialize <NodeImage" when calling salt-cloud with the dimensiondata driver (refs: #45908)

- PR #45908: (tintoy) Fix for #45884 ("TypeError: can't serialize <NodeImage" when calling salt-cloud with the dimensiondata driver) @ 2018-02-12 22:05:29 UTC

  - 007214f7bf Merge pull request #45908 from DimensionDataResearch/fix/issue/45884

  - 1a75786b5a Fix linter warnings.

  - 82ec0b589c Revert to using salt.utils.cloud.is_public_ip.

  - 9b6b01873b Fix violations reported by flake8.

  - a2bc155c73 Use __utils__['cloud.'] instead of salt.cloud.utils.

  - 98907a32cb Ensure 'auth' parameter is correctly passed to dimensiondata driver.

  - de26b03e2c Fix copy/paste bug in dimensiondata provider integration test.

  - 6b1b6be427 Add integration tests for dimensiondata cloud provider.

  - f6ea9fed7d Ensure that event data provided by the dimensiondata driver is serialisable.

- PR #45985: (garethgreenaway) [2017.7] Backport #45894 - Missing format in the call to write. @ 2018-02-12 20:22:31 UTC

  - PR #45894: (while0pass) Fix inconcistencies in param description (refs: #45985)

  - efcbfa868c Merge pull request #45985 from garethgreenaway/2017_7_fixing_mac_tests_again

  - 7b8dc14433 Missing format in the call to write.

- PR #45958: (garethgreenaway) Backporting #45935 to 2017.7 @ 2018-02-12 16:25:07 UTC

  - PR #45936: (garethgreenaway) [oxygen] Fix to log/handlers/__init__.py (refs: #45958)

  - PR #45935: (rallytime) Back-port #45742 to 2017.7.3 (refs: #45958)

  - PR #45742: (marccardinal) list.copy() is not compatible with python 2.7 (refs: #45935)

  - bf03abd07c Merge pull request #45958 from garethgreenaway/backport-fixing_mactests_queue_full

  - 25dffaae91 Backporting #45935

- PR #45949: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-02-09 22:32:09 UTC

  - bab365d6c6 Merge pull request #45949 from rallytime/merge-2017.7

  - f51687e903 Merge branch '2016.11' into '2017.7'

  - 7779fea7ba Merge pull request #45940 from dmurphy18/fix_aix_cmdmod

    - dd2788419b Fix use of 'su' for AIX to use '-'

- ISSUE #45915: (MatthiasKuehneEllerhold) 2017.7.3: Salt-SSH & Vault Pillar: Permission denied "minion.pem" (refs: #45928)

- PR #45928: (garethgreenaway) [2017.7] Fixing vault when used with pillar over salt-ssh @ 2018-02-09 16:32:35 UTC

  - 7fd00ec752 Merge pull request #45928 from garethgreenaway/45915_fixing_vault_pillar_for_salt_ssh

  - 259e60e5d4 Fixing vault when used with pillar over salt-ssh

- PR #45925: (terminalmage) Fix spelling error in docstring @ 2018-02-08 21:52:35 UTC

  - 9d14ad9ccf Merge pull request #45925 from terminalmage/fix-spelling

  - 7a143fe454 Fix spelling error in docstring

- PR #45920: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-02-08 15:43:49 UTC

  - 0cbe93cd69 Merge pull request #45920 from rallytime/merge-2017.7

  - e4e4744218 Merge branch '2016.11' into '2017.7'

  - 27ff82f996 Merge pull request #45864 from rallytime/release-note-fix

    - 104a24f244 Remove extraneous ] in release notes for 2016.11.9

  - 5fa010de2b Merge pull request #45787 from rallytime/2016.11.9_docs

    - a38d4d44fa [2016.11] Bump latest and previous versions

- ISSUE #45805: (bgridley) Execution module victorops throws an error "RuntimeError: dictionary changed size during iteration" (refs: #45814)

- PR #45814: (gtmanfred) fix cookies dict size changing in http.query @ 2018-02-08 15:35:30 UTC

  - 643a8a5278 Merge pull request #45814 from gtmanfred/2017.7

  - d8eec9aa97 fix cookies dict size changing in http.query

- PR #45877: (rallytime) Add release notes file for 2017.7.4 release @ 2018-02-08 14:07:43 UTC

  - 3a3f87c16d Merge pull request #45877 from rallytime/new-release-notes

  - f937e8ba81 Add release notes file for 2017.7.4 release

- PR #45904: (rallytime) Back-port #41017 to 2017.7 @ 2018-02-08 13:57:45 UTC

  - PR #41017: (cebe) Fixed typo in pkg state documentation (refs: #45904)

  - 1c3cc00670 Merge pull request #45904 from rallytime/bp-41017

  - 80c56cdcea Fixed typo in pkg state documentation

- PR #45907: (terminalmage) Fix backport of grains fix @ 2018-02-08 13:57:26 UTC

  - 317d35bd15 Merge pull request #45907 from terminalmage/fix-grains-backport

  - 6cf7e50cc4 Fix backport of grains fix

- PR #45906: (rallytime) Back-port #45548 to 2017.7 @ 2018-02-08 13:57:07 UTC

  - PR #45548: (viktordaniel) Update x509.py - documentation fix (refs: #45906)

  - dade5f0cab Merge pull request #45906 from rallytime/bp-45548

  - 1befa7386c Update x509.py

- ISSUE #45893: (CrackerJackMack) archive.extracted ValueError "No path specified" in 2017.7.3 (refs: #45902)

- PR #45902: (terminalmage) Check the effective saltenv for cached archive @ 2018-02-08 13:42:00 UTC

  - 82c473a1fe Merge pull request #45902 from terminalmage/issue45893

  - 9d200efc26 Add regression test for issue 45893

  - 1468f1d0ff Remove duplicated section in docstring and fix example

  - 6cc5cd9b8a Check the effective saltenv for cached archive

- PR #45862: (rallytime) Back-port #45830 to 2017.7 @ 2018-02-08 13:22:26 UTC

  - PR #45830: (garethgreenaway) [oxygen] Catch exception when logging queue is full (refs: #45862)

  - fdedde3cfb Merge pull request #45862 from rallytime/bp-45830

  - 1024856f9a Wrapping the put_nowait in a try...except and catching the exception when the multiprocessing queue is full. This situation is happening when running the full testing suite on MacOS where the queue limit is 32767 vs on Linux where the queue limit is unlimited.

- PR #45779: (The-Loeki) SSH shell shim: Don't use $() for optimal support @ 2018-02-05 18:35:21 UTC

  - 43a45b42c3 Merge pull request #45779 from The-Loeki/patch-3

  - 8575ae3d52 Merge branch '2017.7' into patch-3

  - 47cf00d88e SSH shell shim: Don't use $() for optimal support

- PR #45788: (rallytime) [2017.7] Bump latest and previous versions @ 2018-02-05 15:30:46 UTC

  - cca997d0da Merge pull request #45788 from rallytime/2017.7.3_docs

  - d5faf6126b [2017.7] Bump latest and previous versions

- PR #45842: (rallytime) Back-port #45827 to 2017.7 @ 2018-02-05 15:04:11 UTC

  - PR #45827: (terminalmage) Fix traceback in disks grains when /sys/block not available (refs: #45842)

  - 746206cebe Merge pull request #45842 from rallytime/bp-45827

  - c631598a87 Fix traceback in disks grains when /sys/block not available

- ISSUE #44978: (doesitblend) State duration not always calculated (refs: #45721)

- PR #45721: (garethgreenaway) [2017.7] Ensure duration and start time exist @ 2018-02-05 14:59:33 UTC

  - 900aadcd67 Merge pull request #45721 from garethgreenaway/44978_show_duration_when_no_state_run

  - 359265869f Adding a couple tests to ensure that duration is included in state run results even when states do not run.

  - 912347abc3 Include the duration when a state does not run, for example when the onchanges requisite is not met.

- PR #45517: (kstreee) Fixes base dir making logic to ensure not raising the exception when base directory already exists. @ 2018-02-05 14:56:23 UTC

  - 80a2d009b4 Merge pull request #45517 from kstreee/fix-mkdir

  - 24d41f2451 Fixes base dir making logic to ensure not raising the exception when base directory already exists.

- PR #45835: (kstreee) Adds a missing return statement. @ 2018-02-02 22:51:41 UTC

  - 7a4b1b2e77 Merge pull request #45835 from kstreee/fix-missing-return-statement

  - 68c7f3dcba Adds a missing return statement.

- PR #45840: (rallytime) Back-port #45603 to 2017.7 @ 2018-02-02 20:17:32 UTC

  - PR #45603: (andreaspe) Fix for duplicate entries with pkrepo.managed (refs: #45840)

  - 0a04f118c2 Merge pull request #45840 from rallytime/bp-45603

  - 9653363131 Fix for duplicate entries with pkrepo.managed

- ISSUE #44315: (whytewolf) cmd.* cwd does not escape spaces. 2017.7.2 (refs: #45134)

- PR #45716: (ciiqr) fixed quoting of script path in cmd.script @ 2018-02-02 14:36:49 UTC

  - PR #45134: (garethgreenaway) [2017.7] fix to cmd.script for cwd with space (refs: #45716)

  - bd2178cd5f Merge pull request #45716 from ciiqr/fix_cmd_script_quoting

  - 217791079b some code cleanup (lint errors and escape_argument as _cmd_quote)

  - 1c29bc5a3d fixed quoting of script path in cmd.script

- ISSUE #45684: (bdrung) salt documentation fails to build with Python 3 version of sphinx (refs: #45719)

- PR #45719: (bdrung) Fix python3 sphinx build @ 2018-02-02 14:20:37 UTC

  - 272f912c7c Merge pull request #45719 from bdrung/fix-python3-sphinx-build

  - 179e8fbe73 doc: Do not mock non-existing __qualname__ attribute

  - 971e59ebe2 Drop enforcing new-style object for SaltYamlSafeLoader

- PR #45764: (mchugh19) support amazon linux 2 for service module @ 2018-02-02 14:12:07 UTC

  - PR #45758: (mchugh19) support amazon linux 2 for service module (refs: #45764)

  - fc04336c3b Merge pull request #45764 from mchugh19/2017.7

  - 0a7f1a4d75 English better

  - 37e067c7b5 support amazon linux 2 for service module

- PR #45756: (roaldnefs) Fix Grafana4 states documentation @ 2018-01-31 19:01:33 UTC

  - f234bf52f4 Merge pull request #45756 from roaldnefs/fix-grafana4-documentation

  - 92979c0b57 Fix grafana4 states documentation

- PR #45801: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-31 18:55:52 UTC

  - 685b683db5 Merge pull request #45801 from rallytime/merge-2017.7

  - 26e992e011 Merge branch '2016.11' into '2017.7'

    - 746386d04c Merge pull request #45794 from vutny/doc-file-state-examples

      - ddfeae6a29 [DOC] Fix code-block rST directive in file state module

    - abc9ece214 Merge pull request #45780 from vutny/doc-pkgrepo-zypper

      - f80c7d8d69 [DOC] Add missing gpgautoimport for pkgrepo.managed

- PR #45802: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-31 18:55:35 UTC

  - c7d319f3bc Merge pull request #45802 from rallytime/merge-2017.7-from-2017.7.3

  - eb48513ba0 Merge branch '2017.7.3' into '2017.7'

- ISSUE #45738: (UtahCampusD) minion cache overwritten for scheduled jobs (refs: #45761)

- PR #45761: (gtmanfred) generate a jid for cache_jobs on the minion @ 2018-01-31 18:01:53 UTC

  - 96e9232cc2 Merge pull request #45761 from gtmanfred/2017.7

  - 280767ed57 generate a jid for cache_jobs on the minion

- ISSUE #45301: (twangboy) Ctl+C causes stack trace on Windows (refs: #45707)

- PR #45707: (skizunov) Fix exception when shutting down logging listener @ 2018-01-30 13:28:10 UTC

  - 38ed46a61a Merge pull request #45707 from skizunov/develop2

  - e84801a381 Ensure we have at least one logging root handler

  - 3da9b8dd33 Fix exception when shutting down logging listener

- PR #45773: (terminalmage) Fix misspellings @ 2018-01-30 13:24:52 UTC

  - 53008ffec7 Merge pull request #45773 from terminalmage/fix-misspelling

  - 0a45f998fe Fix misspellings

- ISSUE #45489: (ipmb) cache.grains runner returns all minions when match is not found (refs: #45588)

- PR #45751: (rallytime) Back-port #45588 to 2017.7 @ 2018-01-29 17:12:25 UTC

  - PR #45588: (samodid) update MasterPillarUtil get_minion_grains method (refs: #45751)

  - 454ed23f62 Merge pull request #45751 from rallytime/bp-45588

  - aa149a0e7a fix typo

  - 3e794a043d fix copy-paste error in get_minion_grains method doc string

  - 1fb94a08e0 update MasterPillarUtil

- PR #45753: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-29 17:11:11 UTC

  - 860e21955c Merge pull request #45753 from rallytime/merge-2017.7

  - cb50cce181 Merge branch '2016.11' into '2017.7'

  - d7e09e2649 Merge pull request #45749 from vutny/fix-typo

    - e80bfb20c6 The zypper.mod_repo: fix typo in the docstring

  - cb6ce378ea Merge pull request #45459 from vutny/salt-cloud-fix-loading-utf-cache

    - b370796e9d Salt Cloud: write/read cached data in UTF-8 explicitly

    - cd999201be [2016.11] Salt Cloud: fix loading UTF-8 cached data

- ISSUE #40173: (gtmanfred) Document the Open File limit issue better (refs: #45688)

- PR #45688: (bdrung) Raise LimitNOFILE to default max open files @ 2018-01-29 14:26:57 UTC

  - 9fb4d4a528 Merge pull request #45688 from bdrung/raise-max-open-files

  - bbedeec756 Raise LimitNOFILE to default max open files

- PR #45686: (bdrung) Use dbus-run-session instead of dbus-launch @ 2018-01-29 14:24:11 UTC

  - 79da49ec8b Merge pull request #45686 from bdrung/2017.7

  - f49d0a0eec Use dbus-run-session instead of dbus-launch

- PR #45740: (terminalmage) Fix incorrect attempt at version comparison. @ 2018-01-29 14:12:05 UTC

  - 7fb666bcd2 Merge pull request #45740 from terminalmage/fix-incorrect-version-comparison

  - 1e0b38dcaa Fix incorrect attempt at version comparison.

- PR #45747: (SteffenKockel) Fix typos @ 2018-01-29 13:53:27 UTC

  - fe636f53f8 Merge pull request #45747 from SteffenKockel/2017.7

  - 319b513183 Fix typos

- PR #45734: (terminalmage) Fix traceback in CLI output when value is trimmed @ 2018-01-28 13:35:56 UTC

  - eb91ae8b6e Merge pull request #45734 from terminalmage/fix-trimmed-output

  - 966ad07452 Fix traceback in CLI output when value is trimmed

- PR #45712: (bdrung) Decode git call output in Python 3 @ 2018-01-28 02:03:21 UTC

  - 7516bfbffe Merge pull request #45712 from bdrung/fix-version-decode

  - 217183405a Decode git call output in Python 3

- ISSUE #44449: (brianthelion) salt-ssh + salt-cloud: cloud roster not working and/or update_cachedir is broken (refs: #45720)

- PR #45720: (dwoz) Salt cloud adds newly created insances to cache @ 2018-01-26 22:45:43 UTC

  - 91b848debb Merge pull request #45720 from dwoz/issue-44449-prod-fix

  - 4a4bd6119d Salt cloud adds newly created insances to cache

- PR #45724: (eliasp) Typo (Hellium → Helium) @ 2018-01-26 22:37:44 UTC

  - 831698f066 Merge pull request #45724 from eliasp/2017.7-typo-from-hell

  - bec78276f3 Replace left-over mistyped codename reference (Hellium → 2014.7.0)

- PR #45722: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-26 22:15:40 UTC

  - cdb21a0186 Merge pull request #45722 from rallytime/merge-2017.7

  - 8e3a2e25fe Merge branch '2016.11' into '2017.7'

  - e4047a1234 Merge pull request #45511 from twangboy/win_fix_git

    - 160dd7c6ce Pull the first item in the list

    - 52d6d78150 Only keep ssh.py in the Windows installer

    - 54eb0db2c4 Keep ssh state and execution modules in the installer

    - 0fa801a329 Add additional path to find ssh.exe

  - a550e8d25d Merge pull request #45694 from twangboy/win_reg_add_keys

    - 8f53cd2d68 Add new keys to subkey_slash_check

    - 62050c711c Add support for additional reg keys

  - 7ceebf62f0 Merge pull request #45577 from zer0def/fix-git-detached-31363

    - a924b971ef Applied PR #40524 to git.detached state module function. (refs #31363)

- PR #45718: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-26 16:49:44 UTC

  - 3a413e96c5 Merge pull request #45718 from rallytime/merge-2017.7

  - f10c7ee92d Merge branch '2017.7.3' into '2017.7'

- PR #45690: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-26 14:41:44 UTC

  - d0955519cf Merge pull request #45690 from rallytime/merge-2017.7

  - d4dac9f7cc Merge branch '2016.11' into '2017.7'

    - 3a6837e232 Merge pull request #45675 from Ch3LL/rn_2016.11.9

      - 7b5bed36d9 Add new commits to 2016.11.9 release notes

    - 915e259bad Merge pull request #45663 from rallytime/bp-45452-2016.11

      - ae94fb61d9 opkg.py: make owner function return value, instead of iterator

    - ecd75c137f Merge pull request #45651 from rallytime/merge-2016.11

      - 1583e1edbe Merge branch '2016.11.9' into '2016.11'

      - 10812969f0 Merge pull request #45638 from twangboy/win_fix_shell_info

        - 872da3ffba Only convert text types in the list_values function

        - 0e41535cdb Fix reg.py to only convert text types to unicode

        - 3579534ea5 Fix issue with detecting powershell

      - 2d1dd1186e Merge pull request #45564 from Ch3LL/r-notes-2016

      - 28e4398150 Merge pull request #45563 from Ch3LL/man_2016

    - 22bcd3d110 Merge pull request #45600 from vutny/doc-fix-references

      - 35675fe6b3 [DOC] Fix references on Salt Formulas page

    - 0d622f92a9 Merge pull request #45542 from UtahDave/doc_mixed_transports

      - b5b5054ec2 capitalize masters and minions

      - f542bdf566 Add warning about using mixed transports

    - c70b9dc20b Merge pull request #45565 from Ch3LL/r-notes-2016

      - 325f4cbcda Add PR changes to 2016.11.9 Release Notes

    - d8526062c1 Merge pull request #45562 from Ch3LL/man_2016

      - 529bc0c680 update release number for salt-call man page 2016.11.9

      - 11b7222148 Update man pages for 2016.11.9

- PR #45710: (michelsen) Added source argument to function call @ 2018-01-26 14:30:48 UTC

  - 9c92e93834 Merge pull request #45710 from michelsen/fix-chocolatey-state-bug

  - 8accc0ce5c Added source argument to function call

- PR #45667: (gtmanfred) default to upgrading when refreshing on archlinux @ 2018-01-25 14:05:24 UTC

  - 693f72d5a7 Merge pull request #45667 from gtmanfred/syu

  - 44c601102a we should default to upgrading when refreshing on archlinux

- PR #45674: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-24 22:46:31 UTC

  - bec946b080 Merge pull request #45674 from rallytime/merge-2017.7

  - 9f78e53d4b Merge branch '2017.7.3' into '2017.7'

- ISSUE #45590: (viq) webhook engine does not work with tornado 4.5.2 (refs: #45589)

- PR #45589: (gtmanfred) change webhook headers to dict @ 2018-01-24 22:32:37 UTC

  - 50de847191 Merge pull request #45589 from gtmanfred/2017.7

  - 395d6f5c91 change webhook headers to dict

- ISSUE #45072: (vernondcole) cannot build documentation on Ubuntu 17.10 (refs: #45662)

- PR #45662: (bdrung) Fix documentation generation @ 2018-01-24 17:14:22 UTC

  - e21088c1a4 Merge pull request #45662 from bdrung/2017.7

  - 71076afbcc doc: Define fake version for msgpack and psutil

  - b6a5b745b1 doc: Mock keyring module import

- PR #45650: (rallytime) Back-port #45555 to 2017.7 @ 2018-01-24 14:47:54 UTC

  - PR #45555: (ddoh94) update winrepo_source_dir document (refs: #45650)

  - da82f190d2 Merge pull request #45650 from rallytime/bp-45555

  - e474d0416b update winrepo_source_dir document

- PR #45611: (terminalmage) Fix unnecessary/incorrect usage of six.binary_type @ 2018-01-23 22:53:20 UTC

  - 79ee24c0c7 Merge pull request #45611 from terminalmage/tests-log-level

  - 6aa865cf54 Fix unnecessary/incorrect usage of six.binary_type

- PR #45652: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-23 22:45:22 UTC

  - 634d8dbcc0 Merge pull request #45652 from rallytime/merge-2017.7

  - 4e907dc84b Merge branch '2017.7.3' into '2017.7'

- ISSUE #45627: (bdrung) Failing unit tests in Debian package build (refs: #45630)

- PR #45630: (bdrung) Fix tests @ 2018-01-23 21:56:46 UTC

  - dbdef8230e Merge pull request #45630 from bdrung/2017.7

  - 76d44e9490 Fix skipping test when boto is not installed

  - 2b9b262357 Fix unit.modules.test_cmdmod.CMDMODTestCase.test_run

- PR #45619: (garethgreenaway) [2017.7] Fixing test_mac_user_enable_auto_login @ 2018-01-23 21:56:03 UTC

  - e5c9cd91e8 Merge pull request #45619 from garethgreenaway/2017_7_test_mac_user_enable_auto_login

  - f5f03e1e6c Fixing integration.modules.test_mac_user.MacUserModuleTest.test_mac_user_disable_auto_login

- PR #45644: (twangboy) Add missing space to deprecation warning @ 2018-01-23 21:55:11 UTC

  - 8a95fc4257 Merge pull request #45644 from twangboy/win_fix_dep_warns

  - de9bc384cc Add missing space to deprecation warning

- PR #45634: (Ch3LL) Add different service name for Mac 10.13 test @ 2018-01-23 21:51:56 UTC

  - c290b6320b Merge pull request #45634 from Ch3LL/mac-service

  - 31b712e27d Add different service name for Mac 10.13 test

- PR #45606: (terminalmage) Fix bug affecting salt-ssh when root_dir differs from the default @ 2018-01-23 20:03:49 UTC

  - c28151f5f7 Merge pull request #45606 from terminalmage/salt-ssh-root-dir-fix

  - 3f9309521b Fix bug affecting salt-ssh when root_dir differs from the default

- PR #45636: (Ch3LL) Fix mac service and pkg tests for 10.13 @ 2018-01-23 18:44:56 UTC

  - 0931b6417d Merge pull request #45636 from Ch3LL/mac-tests

- PR #45609: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-22 20:24:36 UTC

  - 63a294f498 Merge pull request #45609 from rallytime/merge-2017.7

  - a5fc3b3363 Merge branch '2017.7.3' into '2017.7'

- ISSUE #45431: (zer0def) boto3_route53.hosted_zone_present state can fail due to related execution module function's typo (refs: #45576)

- PR #45576: (zer0def) Fixed boto3_route53 execution module function signature diSassociate_vpc_from_hosted_zone typo. (refs #45431) @ 2018-01-22 19:37:13 UTC

  - 59329957ca Merge pull request #45576 from zer0def/boto3-route53-typo

  - 21e1e9e226 Fixed boto3_route53 execution module function signature diSassociate_vpc_from_hosted_zone typo. (refs #45431)

- PR #45552: (rallytime) [2017.7] Merge forward from 2017.7.3 to 2017.7 @ 2018-01-19 19:12:49 UTC

  - 42b0d27f71 Merge pull request #45552 from rallytime/merge-2017.7-from-.3

  - dba7410b80 Merge branch '2017.7.3' into '2017.7'

- PR #45551: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-19 18:21:27 UTC

  - 879cfcb889 Merge pull request #45551 from rallytime/merge-2017.7

  - e0ffa32b49 Merge branch '2016.11' into '2017.7'

  - 18e814a7bb Merge pull request #45540 from rallytime/merge-2016.11

    - 441f819b7b Merge branch '2016.11.9' into '2016.11'

    - 654df0f526 Merge pull request #45532 from gtmanfred/2016.11.9

      - 6c26025664 fix mock for opensuse

  - 4f3b9b57fa Merge pull request #45522 from rallytime/merge-2016.11

    - 36c038c92a Merge branch '2016.11.9' into '2016.11'

    - 571c33aa39 Merge pull request #45518 from gtmanfred/2016.11.9

      - 5455d2dee6 fix centos 6 pip test

      - 40255194b0 fix fedora pkg test

  - 0638638fb9 Merge pull request #45504 from rallytime/merge-2016.11

    - d72fc74e8c Merge branch '2016.11.9' into '2016.11'

      - 4e0a0eec1f Merge pull request #45443 from rallytime/bp-45399-2016.11.9

        - 919e92c911 Fix git.latest failure when rev is not the default branch

      - ebd4db66b8 Merge pull request #45493 from damon-atkins/2016.11_fix_sls_defintion_wrong_type

        - af108440df win_pkg lint space after ,

        - c6e922a236 win_pkg lint issues

        - f4627d7a80 fix quote i.e. change ` to '

        - 6938a4c099 pkg.refresh_db report an issue if a sls pkg definition id not a dict instead of aborting.

  - 5a2a31bfff Merge pull request #45495 from vutny/doc-rhel-pygit2-compat

    - 0d79b9eaff [DOC] Suggest to upgrade pygit2 and deps

  - 9c4fb42e5f Merge pull request #45481 from twangboy/fix_aptpkg

    - fd67b086b4 Fix if statement in __init__()

- ISSUE #42626: (UtahDave) new args and kwargs options for publisher_acl are not documented at all and very little for external_auth (refs: #45389)

- PR #45389: (DmitryKuzmenko) Docs update for function args limit in pub acl. @ 2018-01-18 22:56:10 UTC

  - 28554ca935 Merge pull request #45389 from DSRCorporation/bugs/42626_pub_acl_doc

  - f33ebcada0 Doc note about user names regex matching in pub acl and eauth.

  - e29c0ff19e Docs update for function args limit in pub acl.

- PR #45483: (rallytime) [2017.7] Merge forward from 2016.11 to 2017.7 @ 2018-01-18 22:54:12 UTC

  - b3dc758ab0 Merge pull request #45483 from rallytime/merge-2017.7

  - de6d85959a Lint fix

  - 9f547a31f0 Merge branch '2016.11' into '2017.7'

    - b756760415 Merge pull request #45482 from rallytime/merge-2016.11

      - 3b38c77159 Merge branch '2016.11.9' into '2016.11'

      - 7322efba92 Merge pull request #45446 from rallytime/bp-45390

    - 96ae237d37 Merge pull request #45448 from rallytime/merge-2016.11.9

      - 646379d981 Merge branch '2016.11' into '2016.11.9'

    - 1ed323a3ee Merge pull request #45437 from terminalmage/fix-docstring

      - c11b16dc29 Fix incorrect wording in jboss7 docstrings

    - 600fa3939f Merge pull request #45390 from damon-atkins/2016.11_win_pkg_remove_final_fixes

      - 69f045ea24 lint too-many-blank-lines

      - 10a7501ede Update release notes

      - 6f2affe01c fix pkg.remove, pkg.list_pkgs

    - 057df44a4a Merge pull request #45399 from terminalmage/fix-git.latest-depth

    - 0cbc6767bf Fix git.latest failure when rev is not the default branch

    - b0ece9f4d4 Merge pull request #45424 from twangboy/win_reg

    - 30f06205f7 Fix some issues with reg.py

- PR #45529: (Ch3LL) Fix UnboundLocalError for pacman pkg installs @ 2018-01-18 19:01:49 UTC

  - 5e26282843 Merge pull request #45529 from Ch3LL/pacman-sources

  - e619d49ef3 Fix UnboundLocalError for pacman pkg installs

- PR #45508: (frogunder) fix test_archive test for mac on 2017.7 branch @ 2018-01-18 16:04:36 UTC

  - 840c97417d Merge pull request #45508 from frogunder/fix_mac_archive_tests_2017.7_branch

  - ccf062d62e fix test_archive test for mac on 2017.7 branch

- PR #45444: (rallytime) Back-port #45343 to 2017.7 @ 2018-01-17 17:17:59 UTC

  - PR #45343: (rrroo) Support expr_form for manage.up, manage.down (refs: #45444)

  - e1403b6813 Merge pull request #45444 from rallytime/bp-45343

  - c7d2081390 Support expr_form for manage.up, manage.down

- PR #45465: (terminalmage) Backport #45095 to 2017.7 branch @ 2018-01-17 15:13:05 UTC

  - PR #45095: (terminalmage) PY3: Make loader ignore .pyc files not in __pycache__ (refs: #45465)

  - 4b2c88e2e6 Merge pull request #45465 from terminalmage/bp-45095

  - 2f63a6dbf4 Optimization: don't allocate a new list to concatenate

  - 5074741130 EAFP

  - 85dbdc6a39 PY3: Make loader ignore .pyc files not in __pycache__

- PR #45365: (meaksh) Return an error when "gid_from_name" is set but group does not exist @ 2018-01-16 18:31:50 UTC

  - 5f58a87e84 Merge pull request #45365 from meaksh/2017.7-issue-45345

  - da23067f80 Refactor to prevent logical bug when gid is 0

  - 9fdaa0d5e9 Update documentation for 'gid_from_name' parameter

  - 52f9c06908 Fix integration tests for 'user.present' state.

  - e2c32dc6dc Make pylint happy

  - a18dbe0c11 Return error when gid_from_name and group does not exist.

  - ce7b1f4baf Ensure empty string gid is set to None

- ISSUE #43535: (Ch3LL) Add pkg.latest_version Test to Auto Test Suite (refs: #44822)

- PR #44822: (frogunder) add pkg_latest_version test @ 2018-01-16 14:16:54 UTC

  - de080983e3 Merge pull request #44822 from frogunder/pkg_latestversion

  - 08644e02a0 skip if mac

  - dfb68f32d2 fix if statements and string

  - 3504083849 add pkg_latest_version test

- ISSUE saltstack/salt-jenkins#603: (rallytime) [oxygen] CentOS 7 is failing several boto tests with module import failures (refs: #45401)

- PR #45435: (rallytime) Back-port #45401 to 2017.7 @ 2018-01-14 12:43:48 UTC

  - PR #45401: (gtmanfred) fix boto import failures (refs: #45435)

  - cb3e0cffb3 Merge pull request #45435 from rallytime/bp-45401

  - b9761971c2 fix moto version

  - 0cd95d1cc6 fix test boto imports

- PR #45380: (twangboy) Backport changes from #45308 @ 2018-01-11 19:45:21 UTC

  - PR #45308: (twangboy) Fix integration.modules.test_state for Windows (refs: #45380)

  - 2340f0b487 Merge pull request #45380 from twangboy/backport_45308

  - 419be8a9b5 Backport changes from #45308