top.sls 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. base:
  2. # Base config for all minions
  3. '*':
  4. - ffinfo
  5. - apt
  6. - bash
  7. - certs
  8. - icinga2
  9. - kernel
  10. - locales
  11. - mosh
  12. - motd
  13. - needrestart
  14. - network
  15. - ntp
  16. - postfix
  17. - rsyslog
  18. - salt-minion
  19. - screen
  20. - snmpd
  21. - ssh
  22. - sysctl
  23. - systemd
  24. - timezone
  25. - vim
  26. - unattended-upgrades
  27. - utils
  28. #
  29. # Roles
  30. #
  31. # Roles no relevant here are
  32. # - batman_gw (require role "batman")
  33. # - bbr (require role "router")
  34. # Router
  35. nodes:{{ grains['id'] }}:roles:router:
  36. - match: pillar
  37. - bird
  38. # acme
  39. nodes:{{ grains['id'] }}:roles:acme:
  40. - match: pillar
  41. - acme
  42. # Batman node
  43. nodes:{{ grains['id'] }}:roles:batman:
  44. - match: pillar
  45. - batman
  46. - respondd
  47. # Batman gateway
  48. nodes:{{ grains['id'] }}:roles:batman_gw:
  49. - match: pillar
  50. - dhcp-server
  51. # Build-Server
  52. nodes:{{ grains['id'] }}:roles:build:
  53. - match: pillar
  54. - build
  55. # Fastd
  56. nodes:{{ grains['id'] }}:roles:fastd:
  57. - match: pillar
  58. - fastd
  59. # Grafana
  60. nodes:{{ grains['id'] }}:roles:grafana:
  61. - match: pillar
  62. - grafana
  63. # gogs
  64. nodes:{{ grains['id'] }}:roles:gogs:
  65. - match: pillar
  66. - gogs
  67. # graylog
  68. nodes:{{ grains['id'] }}:roles:graylog:
  69. - match: pillar
  70. - graylog
  71. # KVM hosts
  72. nodes:{{ grains['id'] }}:roles:kvm:
  73. - match: pillar
  74. - kvm
  75. # (Authoritive?) DNS server
  76. nodes:{{ grains['id'] }}:roles:dns-server:
  77. - match: pillar
  78. - dns-server
  79. # Webfrontend
  80. nodes:{{ grains['id'] }}:roles:frontend:
  81. - match: pillar
  82. - nginx
  83. # DSL / PPPoE
  84. nodes:{{ grains['id'] }}:roles:pppoe:
  85. - match: pillar
  86. - pppoe
  87. # InfluxDB
  88. nodes:{{ grains['id'] }}:roles:influxdb:
  89. - match: pillar
  90. - influxdb
  91. # webserver
  92. nodes:{{ grains['id'] }}:roles:webserver:
  93. - match: pillar
  94. - nginx
  95. # yanic
  96. nodes:{{ grains['id'] }}:roles:yanic:
  97. - match: pillar
  98. - yanic
  99. # Docker
  100. nodes:{{ grains['id'] }}:roles:docker:
  101. - match: pillar
  102. - docker
  103. # LibreNMS
  104. nodes:{{ grains['id'] }}:roles:librenms:
  105. - match: pillar
  106. - librenms
  107. #
  108. # Grains
  109. #
  110. # apu2
  111. # Disabled for now
  112. # productname:apu2:
  113. # - match: grain
  114. # - apu2
  115. # Hardware nodes
  116. 'G@virtual:physical and not G@productname:apu2':
  117. - hardware