Bechtoldt's Network Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.rst 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. ``network.routes``
  31. ------------------
  32. Manages network routes
  33. Additional resources
  34. ====================
  35. None
  36. Formula Dependencies
  37. ====================
  38. None
  39. Contributions
  40. =============
  41. Contributions are always welcome. All development guidelines you have to know are
  42. * write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
  43. * set sane default settings
  44. * test your code
  45. * update README.rst doc
  46. Salt Compatibility
  47. ==================
  48. Tested with:
  49. * 2014.1.x
  50. OS Compatibility
  51. ================
  52. Tested with:
  53. * GNU/ Linux Debian Wheezy
  54. * CentOS 6