1
0

index.rst 7.0 KB

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