top.sls 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. - rsyslog
  17. - screen
  18. - snmpd
  19. - ssh
  20. - sysctl
  21. - vim
  22. - unattended-upgrades
  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. - respondd
  39. # Batman gateway
  40. nodes:{{ grains['id'] }}:roles:batman_gw:
  41. - match: pillar
  42. - dhcp-server
  43. # BRAS / Fastd
  44. nodes:{{ grains['id'] }}:roles:fastd:
  45. - match: pillar
  46. - fastd
  47. # Grafana
  48. nodes:{{ grains['id'] }}:roles:grafana:
  49. - match: pillar
  50. - grafana
  51. # Hardware nodes
  52. virtual:physical:
  53. - match: grain
  54. - hardware
  55. # KVM hosts
  56. nodes:{{ grains['id'] }}:roles:kvm:
  57. - match: pillar
  58. - kvm
  59. # Authoritive DNS server
  60. nodes:{{ grains['id'] }}:roles:dns-auth:
  61. - match: pillar
  62. - dns-server.auth
  63. # Webfrontend
  64. nodes:{{ grains['id'] }}:roles:frontend:
  65. - match: pillar
  66. - nginx
  67. # DSL / PPPoE
  68. nodes:{{ grains['id'] }}:roles:pppoe:
  69. - match: pillar
  70. - pppoe
  71. # InfluxDB
  72. nodes:{{ grains['id'] }}:roles:influxdb:
  73. - match: pillar
  74. - influxdb
  75. # yanic
  76. nodes:{{ grains['id'] }}:roles:yanic:
  77. - match: pillar
  78. - yanic