Bechtoldt's Network Saltstack Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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