Bechtoldt's Network Saltstack Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

README.rst 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. ===============
  2. network-formula
  3. ===============
  4. Salt Stack Formula to set up and configure a host's network configuration
  5. NOTICE BEFORE YOU USE
  6. =====================
  7. * This formula aims to follow the conventions and recommendations described at http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#conventions-formula and http://docs.saltstack.com/en/latest/topics/best_practices.html
  8. TODO
  9. ====
  10. * Use more of the available options in interfaces.sls of network.managed
  11. * interfaces: configure broadcast if set
  12. Instructions
  13. ============
  14. 1. Add this repository as a `GitFS <http://docs.saltstack.com/topics/tutorials/gitfs.html>`_ backend in your Salt master config.
  15. 2. Configure your Pillar top file (``/srv/pillar/top.sls``) and your pillars, see pillar.example.sls
  16. 3. Include this Formula within another Formula or simply define your needed states within the Salt top file (``/srv/salt/top.sls``).
  17. Available states
  18. ================
  19. .. contents::
  20. :local:
  21. ``network.hosts``
  22. -----------------
  23. Sets the static lookup table for hostnames
  24. ``network.interfaces``
  25. ----------------------
  26. Sets the network interfaces configuration
  27. ``network.resolver``
  28. --------------------
  29. Sets the resolver configuration
  30. Additional resources
  31. ====================
  32. None
  33. Formula Dependencies
  34. ====================
  35. None
  36. Contributions
  37. =============
  38. Contributions are always welcome. All development guidelines you have to know are
  39. * write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
  40. * set sane default settings
  41. * test your code
  42. * update README.rst doc
  43. Salt Compatibility
  44. ==================
  45. Tested with:
  46. * 2014.1.3
  47. OS Compatibility
  48. ================
  49. Tested with:
  50. * GNU/ Linux Debian Wheezy 7.5
  51. * CentOS 6.5