top.sls 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. # Batman gateway
  37. nodes:{{ grains['id'] }}:roles:batman_gw:
  38. - match: pillar
  39. - dhcp-server
  40. # BRAS / Fastd
  41. nodes:{{ grains['id'] }}:roles:fastd:
  42. - match: pillar
  43. - fastd
  44. # Hardware nodes
  45. virtual:physical:
  46. - match: grain
  47. - hardware
  48. # KVM hosts
  49. nodes:{{ grains['id'] }}:roles:kvm:
  50. - match: pillar
  51. - kvm
  52. # Authoritive DNS server
  53. nodes:{{ grains['id'] }}:roles:dns-auth:
  54. - match: pillar
  55. - dns-server.auth