Bechtoldt's Network Saltstack Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.rst 2.0KB

10 år sedan
10 år sedan
10 år sedan
10 år sedan
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.x
  52. OS Compatibility
  53. ================
  54. Tested with:
  55. * GNU/ Linux Debian Wheezy
  56. * CentOS 6 (not completly tested)