top.sls 1.0 KB

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