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 2.1KB

hace 10 años
hace 10 años
hace 10 años
hace 10 años
hace 10 años
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. =========================
  2. saltstack-network-formula
  3. =========================
  4. .. image:: https://api.flattr.com/button/flattr-badge-large.png
  5. :target: https://flattr.com/submit/auto?user_id=bechtoldt&url=https%3A%2F%2Fgithub.com%2Fbechtoldt%2Fsaltstack-network-formula
  6. Salt Stack Formula to set up and configure a host's network configuration
  7. NOTICE BEFORE YOU USE
  8. =====================
  9. * 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
  10. TODO
  11. ====
  12. * Use more of the available options in interfaces.sls of network.managed
  13. * interfaces: configure broadcast if set
  14. Instructions
  15. ============
  16. 1. Add this repository as a `GitFS <http://docs.saltstack.com/topics/tutorials/gitfs.html>`_ backend in your Salt master config.
  17. 2. Configure your Pillar top file (``/srv/pillar/top.sls``) and your pillars, see pillar.example.sls
  18. 3. Include this Formula within another Formula or simply define your needed states within the Salt top file (``/srv/salt/top.sls``).
  19. Available states
  20. ================
  21. .. contents::
  22. :local:
  23. ``network.hosts``
  24. -----------------
  25. Sets the static lookup table for hostnames
  26. ``network.interfaces``
  27. ----------------------
  28. Sets the network interfaces configuration
  29. ``network.resolver``
  30. --------------------
  31. Sets the resolver configuration
  32. ``network.routes``
  33. ------------------
  34. Manages network routes
  35. Additional resources
  36. ====================
  37. None
  38. Formula Dependencies
  39. ====================
  40. None
  41. Contributions
  42. =============
  43. Contributions are always welcome. All development guidelines you have to know are
  44. * write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
  45. * set sane default settings
  46. * test your code
  47. * update README.rst doc
  48. Salt Compatibility
  49. ==================
  50. Tested with:
  51. * 2014.1
  52. * 2014.7
  53. OS Compatibility
  54. ================
  55. Tested with:
  56. * GNU/ Linux Debian Wheezy
  57. * CentOS 6 (not completly tested)