Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ====
  2. salt
  3. ====
  4. Yes, Salt can Salt itself!
  5. .. note::
  6. See the full `Salt Formulas installation and usage instructions
  7. <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
  8. Available states
  9. ================
  10. .. contents::
  11. :local:
  12. ``salt.minion``
  13. ---------------
  14. Install a minion
  15. ``salt.master``
  16. ---------------
  17. Install a master.
  18. ``salt.syndic``
  19. ---------------
  20. Install a syndic.
  21. ``salt.cloud``
  22. ---------------
  23. Install salt cloud.
  24. ``salt.ssh``
  25. ------------
  26. Install salt-ssh with roster file.
  27. Configure pillar data under salt:ssh_roster to feed the template.
  28. ``Configuration``
  29. =================
  30. Every option available in the templates can be set in pillar. Settings under 'salt' will be overridden by more specific settings under ``salt['master']``, ``salt['minion']`` or ``salt['cloud']``
  31. ::
  32. salt:
  33. ret_port: 4506
  34. master:
  35. user: saltuser
  36. ...
  37. minion:
  38. user: saltuser
  39. ...
  40. cloud:
  41. providers: ec2
  42. ...
  43. ``Extending``
  44. =============
  45. Additional templates can be added by the user under salt/files/minion.d and master.d. This might be useful if, for example, a recently-added configuration option is not yet provided by the default template.
  46. ``Vagrant``
  47. ===========
  48. Executing the provided `Vagrantfile <http://www.vagrantup.com/>`_ will create a Ubuntu 14.04 VM, add the default Saltstack Repository and install the current stable version.
  49. The folders inside the VM will be set up in a way that enables you to simply execute 'sudo salt "*" state.highstate' to apply the salt formula to the VM, using the pillar.example config. You can check /etc/salt/ for results.
  50. Remember, you will have to run ``state.highstate`` or ``state.sls salt.(master|minion|cloud)`` manually.