top.sls 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. - prometheus-exporters
  18. - rsyslog
  19. - salt-minion
  20. - screen
  21. - snmpd
  22. - ssh
  23. - sysctl
  24. - systemd
  25. - timezone
  26. - users
  27. - vim
  28. - unattended-upgrades
  29. - utils
  30. #
  31. # Tags
  32. #
  33. nodes:{{ grains['id'] }}:tags:nftables:
  34. - match: pillar
  35. - nftables
  36. #
  37. # Roles
  38. #
  39. # Router
  40. nodes:{{ grains['id'] }}:roles:router:
  41. - match: pillar
  42. - bird
  43. # acme
  44. nodes:{{ grains['id'] }}:roles:acme:
  45. - match: pillar
  46. - acme
  47. # Batman node
  48. nodes:{{ grains['id'] }}:roles:batman:
  49. - match: pillar
  50. - batman
  51. - respondd
  52. # Batman gateway
  53. nodes:{{ grains['id'] }}:roles:batman_gw:
  54. - match: pillar
  55. - dhcp-server
  56. # Build-Server
  57. nodes:{{ grains['id'] }}:roles:build:
  58. - match: pillar
  59. - build
  60. # burp client/server
  61. nodes:{{ grains['id'] }}:tags:backup:
  62. - match: pillar
  63. - burp.client
  64. nodes:{{ grains['id'] }}:roles:burp.server:
  65. - match: pillar
  66. - burp.server
  67. # Fastd
  68. nodes:{{ grains['id'] }}:roles:fastd:
  69. - match: pillar
  70. - fastd
  71. # Grafana
  72. nodes:{{ grains['id'] }}:roles:grafana:
  73. - match: pillar
  74. - grafana
  75. # gogs
  76. nodes:{{ grains['id'] }}:roles:gogs:
  77. - match: pillar
  78. - gogs
  79. # graylog
  80. nodes:{{ grains['id'] }}:roles:graylog:
  81. - match: pillar
  82. - graylog
  83. # icingaweb2
  84. nodes:{{ grains['id'] }}:roles:icinga2server:
  85. - match: pillar
  86. - icingaweb2
  87. # KVM hosts
  88. nodes:{{ grains['id'] }}:roles:kvm:
  89. - match: pillar
  90. - kvm
  91. # (Authoritive?) DNS server
  92. nodes:{{ grains['id'] }}:roles:dns-server:
  93. - match: pillar
  94. - dns-server
  95. # Webfrontend
  96. nodes:{{ grains['id'] }}:roles:frontend:
  97. - match: pillar
  98. - nginx
  99. # DSL / PPPoE
  100. nodes:{{ grains['id'] }}:roles:pppoe:
  101. - match: pillar
  102. - pppoe
  103. # InfluxDB
  104. nodes:{{ grains['id'] }}:roles:influxdb:
  105. - match: pillar
  106. - influxdb
  107. # webserver
  108. nodes:{{ grains['id'] }}:roles:webserver:
  109. - match: pillar
  110. - nginx
  111. # yanic
  112. nodes:{{ grains['id'] }}:roles:yanic:
  113. - match: pillar
  114. - yanic
  115. # Docker
  116. nodes:{{ grains['id'] }}:roles:docker:
  117. - match: pillar
  118. - docker
  119. # LibreNMS
  120. nodes:{{ grains['id'] }}:roles:librenms:
  121. - match: pillar
  122. - librenms
  123. #
  124. # Grains
  125. #
  126. # apu2
  127. # Disabled for now
  128. # productname:apu2:
  129. # - match: grain
  130. # - apu2
  131. # Hardware nodes
  132. 'G@virtual:physical and not G@productname:apu2':
  133. - hardware