top.sls 933 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. base:
  2. # Base config for all minions
  3. '*':
  4. - ffinfo
  5. - apt
  6. - bash
  7. - cert
  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. # BRAS / Fastd
  37. nodes:{{ grains['id'] }}:roles:fastd:
  38. - match: pillar
  39. - fastd
  40. # Hardware nodes
  41. virtual:physical:
  42. - match: grain
  43. - hardware
  44. # KVM hosts
  45. nodes:{{ grains['id'] }}:roles:kvm:
  46. - match: pillar
  47. - kvm
  48. # Authoritive DNS server
  49. nodes:{{ grains['id'] }}:roles:dns-auth:
  50. - match: pillar
  51. - dns-server.auth