top.sls 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. # Hardware nodes
  48. virtual:physical:
  49. - match: grain
  50. - hardware
  51. # KVM hosts
  52. nodes:{{ grains['id'] }}:roles:kvm:
  53. - match: pillar
  54. - kvm
  55. # Authoritive DNS server
  56. nodes:{{ grains['id'] }}:roles:dns-auth:
  57. - match: pillar
  58. - dns-server.auth
  59. # Webfrontend
  60. nodes:{{ grains['id'] }}:roles:frontend:
  61. - match: pillar
  62. - nginx
  63. # DSL / PPPoE
  64. nodes:{{ grains['id'] }}:roles:pppoe:
  65. - match: pillar
  66. - pppoe
  67. # InfluxDB
  68. nodes:{{ grains['id'] }}:roles:influxdb:
  69. - match: pillar
  70. - influxdb
  71. # yanic
  72. nodes:{{ grains['id'] }}:roles:yanic:
  73. - match: pillar
  74. - yanic