MEschenbacher's Wireguard 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.md 1.5KB

6 년 전
6 년 전
6 년 전
6 년 전
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # wireguard-formula
  2. This formula is supposed to install WireGuard (usually dkms and utils), create
  3. and manage interfaces including peers. Configuration is done via pillar (see
  4. below).
  5. **Attention**: WireGuard is not yet included in the linux mainline kernel. Also,
  6. the installation is different on every distribution and sometimes you even have
  7. to include unstable/testing branches. For now, please
  8. [install WireGuard](https://www.wireguard.com/install/) yourself. You can use
  9. this formula afterwards.
  10. **Important**: On every configuration change, this formula restarts the
  11. wireguard interface in order to apply any changes.
  12. # Requirements
  13. - systemd: This formula makes use of wireguard-shipped systemd service files
  14. - wireguard kernel module
  15. # Installation
  16. See the full [Salt Formulas installation and usage instructions](http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html).
  17. # Configuration
  18. All configuration is done via pillar data. See `pillar.example` for examples.
  19. This means in particular, that you do not have to use any of the following
  20. states youself.
  21. Some keys can be present in the config file multiple times. To do this, you can
  22. start a list under a key. If the configuration format allows a single comma
  23. separated string for the respective key, they all will appear in the config
  24. file. Also see `pillar.example`.
  25. # Available states
  26. No states. Include `wireguard` in the top.sls file.
  27. ```
  28. base:
  29. 'some_minion':
  30. - wireguard
  31. ```