top.sls 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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
  58. # InfluxDB
  59. nodes:{{ grains['id'] }}:roles:influxdb:
  60. - match: pillar
  61. - influxdb