Saltstack Official Salt Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.rst 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. ``salt.standalone``
  29. ------------
  30. Install a minion and configure it in `standalone mode
  31. <docs.saltstack.com/en/latest/topics/tutorials/standalone_minion.html>`_.
  32. ``Configuration``
  33. =================
  34. 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']``
  35. ::
  36. salt:
  37. ret_port: 4506
  38. master:
  39. user: saltuser
  40. ...
  41. minion:
  42. user: saltuser
  43. ...
  44. cloud:
  45. providers: ec2
  46. ...
  47. ``Extending``
  48. =============
  49. 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.
  50. ``Vagrant``
  51. ===========
  52. 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.
  53. 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.
  54. Remember, you will have to run ``state.highstate`` or ``state.sls salt.(master|minion|cloud)`` manually.