top.sls 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. base:
  2. # Base config for all minions
  3. '*':
  4. - ffinfo
  5. - apt
  6. - bash
  7. - certs
  8. - console-tools
  9. - kernel
  10. - locales
  11. - mosh
  12. - network
  13. - ntp
  14. - postfix
  15. - screen
  16. - snmpd
  17. - ssh
  18. - sysctl
  19. - vim
  20. - unattended-upgrades
  21. # - tinc
  22. #
  23. # Roles
  24. #
  25. # Roles no relevant here are
  26. # - batman_gw (require role "batman")
  27. # - bbr (require role "router")
  28. # Router
  29. nodes:{{ grains['id'] }}:roles:router:
  30. - match: pillar
  31. - bird
  32. # Batman node
  33. nodes:{{ grains['id'] }}:roles:batman:
  34. - match: pillar
  35. - batman
  36. - respondd
  37. # Batman gateway
  38. nodes:{{ grains['id'] }}:roles:batman_gw:
  39. - match: pillar
  40. - dhcp-server
  41. # BRAS / Fastd
  42. nodes:{{ grains['id'] }}:roles:fastd:
  43. - match: pillar
  44. - fastd
  45. # Hardware nodes
  46. virtual:physical:
  47. - match: grain
  48. - hardware
  49. # KVM hosts
  50. nodes:{{ grains['id'] }}:roles:kvm:
  51. - match: pillar
  52. - kvm
  53. # Authoritive DNS server
  54. nodes:{{ grains['id'] }}:roles:dns-auth:
  55. - match: pillar
  56. - dns-server.auth