0.16.2.rst 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. =========================
  2. Salt 0.16.2 Release Notes
  3. =========================
  4. :release: 2013-08-01
  5. Version 0.16.2 is a bugfix release for :ref:`0.16.0 <release-0-16-0>`,
  6. and contains a number of fixes.
  7. Windows
  8. -------
  9. - Only allow Administrator's group and SYSTEM user access to C:\\salt. This
  10. eliminates a race condition where a non-admin user could modify a template or
  11. managed file before it is executed by the minion (which is running as an
  12. elevated user), thus avoiding a potential escalation of privileges. (:issue:`6361`)
  13. Grains
  14. ------
  15. - Fixed detection of ``virtual`` grain on OpenVZ hardware nodes
  16. - Gracefully handle lsb_release data when it is enclosed in quotes
  17. - LSB grains are now prefixed with ``lsb_distrib_`` instead of simply ``lsb_``.
  18. The old naming is not preserved, so SLS may be affected.
  19. - Improved grains detection on MacOS
  20. Pillar
  21. ------
  22. - Don't try to load :mod:`git_pillar <salt.pillar.git_pillar>`
  23. if not enabled in master config (:issue:`6052`)
  24. - Functions :mod:`pillar.item <salt.modules.pillar.item>` and
  25. :mod:`pillar.items <salt.modules.pillar.items>` added for parity with
  26. :mod:`grains.item <salt.modules.grains.item>`/:mod:`grains.items
  27. <salt.modules.grains.items>`. The old function ``pillar.data`` is preserved
  28. for backwards compatibility.
  29. - Fixed minion traceback when Pillar SLS is malformed (:issue:`5910`)
  30. Peer Publishing
  31. ---------------
  32. - More gracefully handle improperly quoted publish commands (:issue:`5958`)
  33. - Fixed traceback when timeout specified via the CLI fo :mod:`publish.publish
  34. <salt.modules.publish.publish>`, :mod:`publish.full_data
  35. <salt.modules.publish.full_data>` (:issue:`5959`)
  36. - Fixed unintended change in output of :mod:`publish.publish
  37. <salt.modules.publish.publish>` (:issue:`5928`)
  38. Minion
  39. ------
  40. - Fixed salt-key usage in minionswarm script
  41. - Quieted warning about :strong:`SALT_MINION_CONFIG` environment variable on
  42. minion startup and for CLI commands run via ``salt-call`` (:issue:`5956`)
  43. - Added minion config parameter :conf_minion:`random_reauth_delay` to stagger
  44. re-auth attempts when the minion is waiting for the master to approve its
  45. public key. This helps prevent SYN flooding in larger environments.
  46. User/Group Management
  47. ---------------------
  48. - Implement previously-ignored ``unique`` option for :mod:`user.present
  49. <salt.states.user.present>` states in FreeBSD
  50. - Report in state output when a :mod:`group.present
  51. <salt.states.group.present>` state attempts to use a gid in use by another
  52. group
  53. - Fixed regression that prevents a :mod:`user.present
  54. <salt.states.user.present>` state to set the password hash to the system
  55. default (i.e. an unset password)
  56. - Fixed multiple :mod:`group.present <salt.states.group.present>` states with
  57. the same group (:issue:`6439`)
  58. File Management
  59. ---------------
  60. - Fixed file.mkdir setting incorrect permissions (:issue:`6033`)
  61. - Fixed cleanup of source files for templates when ``/tmp`` is in file_roots
  62. (:issue:`6118`)
  63. - Fixed caching of zero-byte files when a non-empty file was previously cached
  64. at the same path
  65. - Added HTTP authentication support to the cp module (:issue:`5641`)
  66. - Diffs are now suppressed when binary files are changed
  67. Package/Repository Management
  68. -----------------------------
  69. - Fixed traceback when there is only one target for :mod:`pkg.latest
  70. <salt.states.pkg.latest>` states
  71. - Fixed regression in detection of virtual packages (apt)
  72. - Limit number of pkg database refreshes to once per :mod:`state.sls
  73. <salt.modules.state.sls>`/:mod:`state.highstate
  74. <salt.modules.state.highstate>`
  75. - YUM: Allow 32-bit packages with arches other than i686 to be managed on
  76. 64-bit systems (:issue:`6299`)
  77. - Fixed incorrect reporting in pkgrepo.managed states (:issue:`5517`)
  78. - Fixed 32-bit binary package installs on 64-bit RHEL-based distros, and added
  79. proper support for 32-bit packages on 64-bit Debian-based distros
  80. (:issue:`6303`)
  81. - Fixed issue where requisites were inadvertently being put into YUM repo files
  82. (:issue:`6471`)
  83. Service Management
  84. ------------------
  85. - Fixed inaccurate reporting of results in :mod:`service.running
  86. <salt.states.service.running>` states when the service fails to start
  87. (:issue:`5894`)
  88. - Fixed handling of custom initscripts in RHEL-based distros so that they are
  89. immediately available, negating the need for a second state run to manage the
  90. service that the initscript controls
  91. Networking
  92. ----------
  93. - Function network.hwaddr renamed to :mod:`network.hw_addr
  94. <salt.modules.network.hw_addr>` to match :mod:`network.ip_addrs
  95. <salt.modules.network.ip_addrs>` and :mod:`network.ip_addrs6
  96. <salt.modules.network.ip_addrs6>`. All three functions also now work without
  97. the underscore in the name, as well.
  98. - Fixed traceback in :mod:`bridge.show <salt.modules.bridge.show>` when
  99. interface is not present (:issue:`6326`)
  100. SSH
  101. ---
  102. - Fixed incorrect result reporting for some :mod:`ssh_known_hosts.present
  103. <salt.states.ssh_known_hosts.present>` states
  104. - Fixed inaccurate reporting when :mod:`ssh_auth.present
  105. <salt.states.ssh_auth.present>` states are run with ``test=True``, when
  106. rsa/dss is used for the ``enc`` param instead of ssh-rsa/ssh-dss
  107. (:issue:`5374`)
  108. pip
  109. ---
  110. - Properly handle ``-f`` lines in pip freeze output
  111. - Fixed regression in pip.installed states with specifying a requirements file
  112. (:issue:`6003`)
  113. - Fixed use of ``editable`` argument in :mod:`pip.installed
  114. <salt.states.pip.installed>` states (:issue:`6025`)
  115. - Deprecated ``runas`` parameter in execution function calls, in favor of
  116. ``user``
  117. MySQL
  118. -----
  119. - Allow specification of :mod:`MySQL <salt.modules.mysql>`
  120. connection arguments via the CLI, overriding/bypassing minion config params
  121. - Allow :mod:`mysql_user.present <salt.states.mysql_user.present>` states to
  122. set a passwordless login (:issue:`5550`)
  123. - Fixed endless loop when :mod:`mysql.processlist
  124. <salt.modules.mysql.processlist>` is run (:issue:`6297`)
  125. PostgreSQL
  126. ----------
  127. - Fixed traceback in :mod:`postgres.user_list
  128. <salt.modules.postgres.user_list>` (:issue:`6352`)
  129. Miscellaneous
  130. -------------
  131. - Don't allow :mod:`npm states <salt.states.npm>` to be used if
  132. :mod:`npm module <salt.modules.npm>` is not available
  133. - Fixed :mod:`alternatives.install <salt.states.alternatives.install>` states
  134. for which the target is a symlink (:issue:`6162`)
  135. - Fixed traceback in :mod:`sysbench module
  136. <salt.modules.sysbench>` (:issue:`6175`)
  137. - Fixed traceback in job cache
  138. - Fixed tempfile cleanup for windows
  139. - Fixed issue where SLS files using the :mod:`pydsl renderer
  140. <salt.renderers.pydsl>` were not being run
  141. - Fixed issue where returners were being passed incorrect information
  142. (:issue:`5518`)
  143. - Fixed traceback when numeric args are passed to :mod:`cmd.script
  144. <salt.states.cmd.script>` states
  145. - Fixed bug causing :mod:`cp.get_dir <salt.modules.cp.get_dir>` to return more
  146. directories than expected (:issue:`6048`)
  147. - Fixed traceback when :mod:`supervisord.running
  148. <salt.states.supervisord.running>` states are run with ``test=True``
  149. (:issue:`6053`)
  150. - Fixed tracebacks when Salt encounters problems running rbenv (:issue:`5888`)
  151. - Only make the :mod:`monit module <salt.modules.monit>`
  152. available if monit binary is present (:issue:`5871`)
  153. - Fixed incorrect behavior of :mod:`img.mount_image
  154. <salt.modules.img.mount_image>`
  155. - Fixed traceback in :mod:`tomcat.deploy_war <salt.modules.tomcat.deploy_war>`
  156. in Windows
  157. - Don't re-write /etc/fstab if mount fails
  158. - Fixed tracebacks when Salt encounters problems running gem (:issue:`5886`)
  159. - Fixed incorrect behavior of :mod:`selinux.boolean
  160. <salt.states.selinux.boolean>` states (:issue:`5912`)
  161. - :mod:`RabbitMQ <salt.modules.rabbitmq>`: Quote passwords to
  162. avoid symbols being interpolated by the shell (:issue:`6338`)
  163. - Fixed tracebacks in :mod:`extfs.mkfs <salt.modules.extfs.mkfs>` and
  164. :mod:`extfs.tune <salt.modules.extfs.tune>` (:issue:`6462`)
  165. - Fixed a regression with the :mod:`module.run <salt.states.module.run>` state
  166. where the ``m_name`` and ``m_fun`` arguments were being ignored (:issue:`6464`)