top.sls 973 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. base:
  2. # Base config for all minions
  3. '*':
  4. - ffinfo
  5. - apt
  6. - bash
  7. - cert.x509
  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. # - ffpb
  22. # - monitoring.node
  23. # - tinc
  24. #
  25. # Roles
  26. #
  27. # Roles no relevant here are
  28. # - batman_gw (require role "batman")
  29. # - bbr (require role "router")
  30. # Router
  31. nodes:{{ grains['id'] }}:roles:router:
  32. - match: pillar
  33. - bird
  34. # Batman node?
  35. nodes:{{ grains['id'] }}:roles:batman:
  36. - match: pillar
  37. - batman
  38. # BRAS / Fastd
  39. nodes:{{ grains['id'] }}:roles:fastd:
  40. - match: pillar
  41. - fastd
  42. # Hardware nodes
  43. virtual:physical:
  44. - match: grain
  45. - hardware
  46. # KVM hosts
  47. nodes:{{ grains['id'] }}:roles:kvm:
  48. - match: pillar
  49. - kvm
  50. # Authoritive DNS server
  51. nodes:{{ grains['id'] }}:roles:dns-auth:
  52. - match: pillar
  53. - dns-server.auth