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.

преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. ## Instructions
  8. 1. Add this repository as a [GitFS](http://docs.saltstack.com/topics/tutorials/gitfs.html) backend in your Salt master config.
  9. 2. Configure your Pillar top file (`/srv/pillar/top.sls`), see pillar.example
  10. 3. Include this Formula within another Formula or simply define your needed states within the Salt top file (`/srv/salt/top.sls`).
  11. ## Available states
  12. ### network.hosts
  13. Sets the static lookup table for hostnames
  14. ### network.interfaces
  15. Sets the network interfaces configuration
  16. ### network.resolver
  17. Sets the resolver configuration
  18. ## Additional resources
  19. None
  20. ## Formula Dependencies
  21. None
  22. ## Contributions
  23. Contributions are always welcome. All development guidelines you have to know are
  24. * write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
  25. * set sane default settings
  26. * test your code
  27. * update README.md doc
  28. ## Salt Compatibility
  29. Tested with:
  30. * 2014.1.0
  31. ## OS Compatibility
  32. Tested with:
  33. * GNU/ Linux Debian Wheezy