0.10.2.rst 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. =========================
  2. Salt 0.10.2 Release Notes
  3. =========================
  4. :release: 2012-07-30
  5. 0.10.2 is out! This release comes with enhancements to the pillar interface,
  6. cleaner ways to access the salt-call capabilities in the API, minion data
  7. caching and the event system has been added to salt minions.
  8. There have also been updates to the ZeroMQ functions, many more tests
  9. (thanks to sponsors, the code sprint and many contributors) and a swath
  10. of bug fixes.
  11. Major Features
  12. ==============
  13. Ext Pillar Modules
  14. ------------------
  15. The ranks of available Salt modules directories sees a new member in 0.10.2.
  16. With the popularity of pillar a higher demand has arisen for ``ext_pillar``
  17. interfaces to be more like regular Salt module additions. Now ext_pillar
  18. interfaces can be added in the same way as other modules, just drop it into
  19. the pillar directory in the salt source.
  20. Minion Events
  21. -------------
  22. In 0.10.0 an event system was added to the Salt master. 0.10.2 adds the event
  23. system to the minions as well. Now event can be published on a local minion
  24. as well.
  25. The minions can also send events back up to the master. This means that Salt is
  26. able to communicate individual events from the minions back up to the Master
  27. which are not associated with command.
  28. Minion Data Caching
  29. -------------------
  30. When pillar was introduced the landscape for available data was greatly
  31. enhanced. The minion's began sending grain data back to the master on a
  32. regular basis.
  33. The new config option on the master called ``minion_data_cache`` instructs the
  34. Salt master to maintain a cache of the minion's grains and pillar data in the
  35. cachedir. This option is turned off by default to avoid hitting the disk more,
  36. but when enabled the cache is used to make grain matching from the salt command
  37. more powerful, since the minions that will match can be predetermined.
  38. Backup Files
  39. ------------
  40. By default all files replaced by the file.managed and file.recurse states we
  41. simply deleted. 0.10.2 adds a new option. By setting the backup option to
  42. ``minion`` the files are backed up before they are replaced.
  43. The backed up files are located in the cachedir under the file_backup
  44. directory. On a default system this will be at:
  45. ``/var/cache/salt/file_backup``
  46. Configuration files
  47. -------------------
  48. ``salt-master`` and ``salt-minion`` automatically load additional configuration
  49. files from ``master.d/*.conf`` respective ``minion.d/*.conf`` where
  50. ``master.d``/``minion.d`` is a directory in the same directory as the main
  51. configuration file.
  52. Salt Key Verification
  53. ---------------------
  54. A number of users complained that they had inadvertently deleted the wrong salt
  55. authentication keys. 0.10.2 now displays what keys are going to be deleted
  56. and verifies that they are the keys that are intended for deletion.
  57. Key auto-signing
  58. ----------------
  59. If ``autosign_file`` is specified in the configuration file incoming keys
  60. will be compared to the list of keynames in ``autosign_file``. Regular
  61. expressions as well as globbing is supported.
  62. The file must only be writable by the user otherwise the file will be
  63. ignored. To relax the permission and allow group write access set the
  64. ``permissive_pki_access`` option.
  65. Module changes
  66. --------------
  67. Improved OpenBSD support
  68. ^^^^^^^^^^^^^^^^^^^^^^^^
  69. New modules for managing services and packages were provided by Joshua
  70. Elsasser to further improve the support for OpenBSD.
  71. Existing modules like the `disk` module were also improved to support
  72. OpenBSD.
  73. SQL Modules
  74. ^^^^^^^^^^^
  75. The MySQL and PostgreSQL modules have both received a number of additions thanks
  76. to the work of Avi Marcus and Roman Imankulov.
  77. ZFS Support on FreeBSD
  78. ^^^^^^^^^^^^^^^^^^^^^^
  79. A new ZFS module has been added by Kurtis Velarde for FreeBSD supporting
  80. various ZFS operations like creating, extending or removing zpools.
  81. Augeas
  82. ^^^^^^
  83. A new Augeas module by Ulrich Dangel for editing and verifying config files.
  84. Native Debian Service module
  85. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  86. The support for the Debian was further improved with an new service module
  87. for Debian by Ahmad Khayyat supporting `disable` and `enable`.
  88. Cassandra
  89. ^^^^^^^^^
  90. Cassandra support has been added by Adam Garside. Currently only
  91. status and diagnostic information are supported.
  92. Networking
  93. ^^^^^^^^^^
  94. The networking support for `RHEL` has been improved and supports bonding
  95. support as well as zeroconf configuration.
  96. Monit
  97. ^^^^^
  98. Basic monit support by Kurtis Velarde to control services via monit.
  99. nzbget
  100. ^^^^^^
  101. Basic support for controlling nzbget by Joseph Hall
  102. Bluetooth
  103. ^^^^^^^^^
  104. Baisc ``bluez`` support for managing and controlling Bluetooth devices.
  105. Supports scanning as well as pairing/unpairing by Joseph Hall.
  106. Test Updates
  107. ============
  108. Consistency Testing
  109. -------------------
  110. Another testing script has been added. A bug was found in pillar when many
  111. minions generated pillar data at the same time. The new ``consist.py`` script
  112. is the tests directory was created to reproduce bugs where data should always
  113. be consistent.
  114. Many Fixes
  115. ==========
  116. To get a good idea for the number of bugfixes this release offers take a look
  117. at the closed tickets for 0.10.2, this is a very substantial update:
  118. https://github.com/saltstack/salt/issues?milestone=24&page=1&state=closed
  119. Master and Minion Stability Fixes
  120. ---------------------------------
  121. As Salt deployments grow new ways to break Salt are discovered. 0.10.2 comes
  122. with a number of fixes for the minions and master greatly improving Salt
  123. stability.