top.sls 1.7 KB

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