top.sls 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. # Docker
  81. nodes:{{ grains['id'] }}:roles:docker:
  82. - match: pillar
  83. - docker
  84. #
  85. # Grains
  86. #
  87. # apu2
  88. productname:apu2:
  89. - match: grain
  90. - apu2
  91. # Hardware nodes
  92. virtual:physical:
  93. - match: grain
  94. - hardware