index.rst 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .. _`Apache 2.0 license`: http://www.apache.org/licenses/LICENSE-2.0.html
  2. ====================
  3. Introduction to Salt
  4. ====================
  5. .. rubric:: We’re not just talking about NaCl.
  6. The 30 second summary
  7. =====================
  8. Salt is:
  9. * **A configuration management system.** Salt is capable of maintaining remote
  10. nodes in defined states. For example, it can ensure that specific packages are
  11. installed and that specific services are running.
  12. * **A distributed remote execution system used to execute commands and
  13. query data on remote nodes.** Salt can query and execute commands either on
  14. individual nodes or by using an arbitrary selection criteria.
  15. It was developed in order to bring the best solutions found in the
  16. world of remote execution together and make them better, faster, and more
  17. malleable. Salt accomplishes this through its ability to handle large loads of
  18. information, and not just dozens but hundreds and even thousands of individual
  19. servers quickly through a simple and manageable interface.
  20. Simplicity
  21. ==========
  22. Providing versatility between massive scale deployments and smaller systems may seem
  23. daunting, but Salt is very simple to set up and maintain, regardless of the
  24. size of the project. The architecture of Salt is designed to work with any
  25. number of servers, from a handful of local network systems to international
  26. deployments across different data centers. The topology is a simple
  27. server/client model with the needed functionality built into a single set of
  28. daemons. While the default configuration will work with little to no
  29. modification, Salt can be fine tuned to meet specific needs.
  30. Parallel execution
  31. ==================
  32. The core functions of Salt:
  33. * enable commands to remote systems to be called in parallel rather than serially
  34. * use a secure and encrypted protocol
  35. * use the smallest and fastest network payloads possible
  36. * provide a simple programming interface
  37. Salt also introduces more granular controls to the realm of remote
  38. execution, allowing systems to be targeted not just by hostname, but
  39. also by system properties.
  40. Builds on proven technology
  41. ===========================
  42. Salt takes advantage of a number of technologies and techniques. The
  43. networking layer is built with the excellent `ZeroMQ`_ networking
  44. library, so the Salt daemon includes a viable and transparent AMQ
  45. broker. Salt uses public keys for authentication with the master
  46. daemon, then uses faster `AES`_ encryption for payload communication;
  47. authentication and encryption are integral to Salt. Salt takes
  48. advantage of communication via `msgpack`_, enabling fast and light
  49. network traffic.
  50. .. _`ZeroMQ`: https://zeromq.org/
  51. .. _`msgpack`: https://msgpack.org/
  52. .. _`AES`: https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
  53. Python client interface
  54. =======================
  55. In order to allow for simple expansion, Salt execution routines can be written
  56. as plain Python modules. The data collected from Salt executions can be sent
  57. back to the master server, or to any arbitrary program. Salt can be called from
  58. a simple Python API, or from the command line, so that Salt can be used to
  59. execute one-off commands as well as operate as an integral part of a larger
  60. application.
  61. Fast, flexible, scalable
  62. ========================
  63. The result is a system that can execute commands at high speed on
  64. target server groups ranging from one to very many servers. Salt is
  65. very fast, easy to set up, amazingly malleable and provides a single
  66. remote execution architecture that can manage the diverse
  67. requirements of any number of servers. The Salt infrastructure
  68. brings together the best of the remote execution world, amplifies its
  69. capabilities and expands its range, resulting in a system that is as
  70. versatile as it is practical, suitable for any network.
  71. Open
  72. ====
  73. Salt is developed under the `Apache 2.0 license`_, and can be used for
  74. open and proprietary projects. Please submit your expansions back to
  75. the Salt project so that we can all benefit together as Salt grows.
  76. Please feel free to sprinkle Salt around your systems and let the
  77. deliciousness come forth.
  78. .. _salt-community:
  79. Salt Community
  80. ==============
  81. Join the Salt!
  82. There are many ways to participate in and communicate with the Salt community.
  83. Salt has an active IRC channel and a mailing list.
  84. Mailing List
  85. ============
  86. Join the `salt-users mailing list`_. It is the best place to ask questions
  87. about Salt and see whats going on with Salt development! The Salt mailing list
  88. is hosted by Google Groups. It is open to new members.
  89. .. _`salt-users mailing list`: https://groups.google.com/forum/#!forum/salt-users
  90. Additionally, all users of Salt should be subscribed to the Announcements mailing
  91. list which contains important updates about Salt, such as new releaes and
  92. security-related announcements. This list is low-traffic.
  93. .. _`salt-announce mailing list`: https://groups.google.com/forum/#!forum/salt-announce
  94. IRC
  95. ===
  96. The ``#salt`` IRC channel is hosted on the popular `Freenode`_ network. You
  97. can use the `Freenode webchat client`_ right from your browser. `Logs of the
  98. IRC channel activity`_ are also available.
  99. .. _Freenode: http://freenode.net/irc_servers.shtml
  100. .. _`Freenode webchat client`: https://webchat.freenode.net/#salt
  101. .. _`Logs of the IRC channel activity`: https://freenode.logbot.info/salt/
  102. If you wish to discuss the development of Salt itself join us in
  103. ``#salt-devel``.
  104. Follow on Github
  105. ================
  106. The Salt code is developed via Github. Follow Salt for constant updates on what
  107. is happening in Salt development:
  108. |saltrepo|
  109. Long-term planning and strategic decisions are handled via Salt Enhancement Proposals
  110. and can be found on GitHub.
  111. .. _`Salt Enhancement Proposals`: https://github.com/saltstack/salt-enhancement-proposals
  112. Blogs
  113. =====
  114. SaltStack Inc. keeps a `blog`_ with recent news and advancements:
  115. http://www.saltstack.com/blog/
  116. .. _`blog`: http://www.saltstack.com/blog/
  117. Example Salt States
  118. ===================
  119. The official ``salt-states`` repository is:
  120. https://github.com/SS-archive/salt-states
  121. A few examples of salt states from the community:
  122. * https://github.com/blast-hardcheese/blast-salt-states
  123. * https://github.com/kevingranade/kevingranade-salt-state
  124. * https://github.com/uggedal/states
  125. * https://github.com/mattmcclean/salt-openstack/tree/master/salt
  126. * https://github.com/rentalita/ubuntu-setup/
  127. * https://github.com/brutasse/states
  128. * https://github.com/bclermont/states
  129. * https://github.com/pcrews/salt-data
  130. Follow on Open Hub
  131. ==================
  132. https://www.openhub.net/p/salt
  133. Other community links
  134. =====================
  135. - `Salt Stack Inc. <http://www.saltstack.com>`_
  136. - `Subreddit <http://www.reddit.com/r/saltstack>`_
  137. - `YouTube <https://www.youtube.com/user/SaltStack>`_
  138. - `Facebook <https://www.facebook.com/SaltStack>`_
  139. - `Twitter <https://twitter.com/SaltStackInc>`_
  140. - `Wikipedia page <https://en.wikipedia.org/wiki/Salt_(software)>`_
  141. - `Stack Overflow <https://stackoverflow.com/questions/tagged/salt-stack>`_
  142. Hack the Source
  143. ===============
  144. If you want to get involved with the development of source code or the
  145. documentation efforts, please review the :ref:`contributing documentation
  146. <contributing>`!
  147. .. _`Apache 2.0 license`: http://www.apache.org/licenses/LICENSE-2.0.html