1
0

0.12.0.rst 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. =========================
  2. Salt 0.12.0 Release Notes
  3. =========================
  4. :release: 2013-01-15
  5. Another feature release of Salt is here! Some exciting additions are included
  6. with more ways to make salt modular and even easier management of the salt
  7. file server.
  8. Major Features
  9. ==============
  10. Modular Fileserver Backend
  11. --------------------------
  12. The new modular fileserver backend allows for any external system to be used as
  13. a salt file server. The main benefit here is that it is now possible to tell
  14. the master to directly use a git remote location, or many git remote locations,
  15. automatically mapping git branches and tags to salt environments.
  16. Windows is First Class!
  17. -----------------------
  18. A new Salt Windows installer is now available! Much work has been put in to
  19. improve Windows support. With this much easier method of getting Salt on your
  20. Windows machines, we hope even more development and progress will occur. Please
  21. file bug reports on the Salt GitHub repo issue tracker so we can continue
  22. improving.
  23. One thing that is missing on Windows that Salt uses extensively is a software
  24. package manager and a software package repository. The Salt pkg state allows
  25. sys admins to install software across their infrastructure and across operating
  26. systems. Software on Windows can now be managed in the same way. The SaltStack
  27. team built a package manager that interfaces with the standard Salt pkg module
  28. to allow for installing and removing software on Windows. In addition, a
  29. software package repository has been built on top of the Salt fileserver. A
  30. small YAML file provides the information necessary for the package manager to
  31. install and remove software.
  32. An interesting feature of the new Salt Windows software package repository is
  33. that one or more remote git repositories can supplement the master's local
  34. repository. The repository can point to software on the master's fileserver or
  35. on an HTTP, HTTPS, or ftp server.
  36. New Default Outputter
  37. ---------------------
  38. Salt displays data to the terminal via the outputter system. For a long time
  39. the default outputter for Salt has been the python pretty print library. While
  40. this has been a generally reasonable outputter, it did have many failings. The
  41. new default outputter is called "nested", it recursively scans return data
  42. structures and prints them out cleanly.
  43. If the result of the new nested outputter is not desired any other outputter
  44. can be used via the --out option, or the output option can be set in the master
  45. and minion configs to change the default outputter.
  46. Internal Scheduler
  47. ------------------
  48. The internal Salt scheduler is a new capability which allows for functions to
  49. be executed at given intervals on the minion, and for runners to be executed
  50. at given intervals on the master. The scheduler allows for sequences
  51. such as executing state runs (locally on the minion or remotely via an
  52. overstate) or continually gathering system data to be run at given intervals.
  53. The configuration is simple, add the schedule option to the master or minion
  54. config and specify jobs to run, this in the master config will execute the
  55. state.over runner every 60 minutes:
  56. .. code-block:: yaml
  57. schedule:
  58. overstate:
  59. function: state.over
  60. minutes: 60
  61. This example for the minion configuration will execute a highstate every 30
  62. minutes:
  63. .. code-block:: yaml
  64. schedule:
  65. highstate:
  66. function: state.highstate
  67. minutes: 30
  68. Optional DSL for SLS Formulas
  69. -----------------------------
  70. Jack Kuan, our renderer expert, has created something that is astonishing.
  71. Salt, now comes with an optional Python based DSL, this is a very powerful
  72. interface that makes writing SLS files in pure python easier than it was
  73. with the raw py renderer. As usual this can be used with the renderer shebang
  74. line, so a single sls can be written with the DSL if pure python power is
  75. needed while keeping other sls files simple with YAML.
  76. Set Grains Remotely
  77. -------------------
  78. A new execution function and state module have been added that allows for
  79. grains to be set on the minion. Now grains can be set via a remote execution or
  80. via states. Use the `grains.present` state or the `grains.setval` execution
  81. functions.
  82. Gentoo Additions
  83. ----------------
  84. Major additions to Gentoo specific components have been made. The encompasses
  85. executions modules and states ranging from supporting the make.conf file to
  86. tools like layman.