top.sls 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. - motd
  14. - network
  15. - ntp
  16. - postfix
  17. - rsyslog
  18. - screen
  19. - snmpd
  20. - ssh
  21. - sysctl
  22. - vim
  23. - unattended-upgrades
  24. # - tinc
  25. #
  26. # Roles
  27. #
  28. # Roles no relevant here are
  29. # - batman_gw (require role "batman")
  30. # - bbr (require role "router")
  31. # Router
  32. nodes:{{ grains['id'] }}:roles:router:
  33. - match: pillar
  34. - bird
  35. # Batman node
  36. nodes:{{ grains['id'] }}:roles:batman:
  37. - match: pillar
  38. - batman
  39. - respondd
  40. # Batman gateway
  41. nodes:{{ grains['id'] }}:roles:batman_gw:
  42. - match: pillar
  43. - dhcp-server
  44. # BRAS / Fastd
  45. nodes:{{ grains['id'] }}:roles:fastd:
  46. - match: pillar
  47. - fastd
  48. # Grafana
  49. nodes:{{ grains['id'] }}:roles:grafana:
  50. - match: pillar
  51. - grafana
  52. # gogs
  53. nodes:{{ grains['id'] }}:roles:gogs:
  54. - match: pillar
  55. - gogs
  56. # KVM hosts
  57. nodes:{{ grains['id'] }}:roles:kvm:
  58. - match: pillar
  59. - kvm
  60. # Authoritive DNS server
  61. nodes:{{ grains['id'] }}:roles:dns-auth:
  62. - match: pillar
  63. - dns-server.auth
  64. # Webfrontend
  65. nodes:{{ grains['id'] }}:roles:frontend:
  66. - match: pillar
  67. - nginx
  68. # DSL / PPPoE
  69. nodes:{{ grains['id'] }}:roles:pppoe:
  70. - match: pillar
  71. - pppoe
  72. # InfluxDB
  73. nodes:{{ grains['id'] }}:roles:influxdb:
  74. - match: pillar
  75. - influxdb
  76. # yanic
  77. nodes:{{ grains['id'] }}:roles:yanic:
  78. - match: pillar
  79. - yanic
  80. #
  81. # Grains
  82. #
  83. # apu2
  84. productname:apu2:
  85. - match: grain
  86. - apu2
  87. # Hardware nodes
  88. virtual:physical:
  89. - match: grain
  90. - hardware