top.sls 2.4 KB

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