top.sls 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. - nftables
  15. - network
  16. - ntp
  17. - postfix
  18. - prometheus-exporters
  19. - rsyslog
  20. - salt-minion
  21. - screen
  22. - snmpd
  23. - ssh
  24. - sysctl
  25. - systemd
  26. - timezone
  27. - users
  28. - vim
  29. - unattended-upgrades
  30. - utils
  31. #
  32. # Roles
  33. #
  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. # burp client/server
  56. nodes:{{ grains['id'] }}:tags:backup:
  57. - match: pillar
  58. - burp.client
  59. nodes:{{ grains['id'] }}:roles:burp.server:
  60. - match: pillar
  61. - burp.server
  62. # Fastd
  63. nodes:{{ grains['id'] }}:roles:fastd:
  64. - match: pillar
  65. - fastd
  66. # Grafana
  67. nodes:{{ grains['id'] }}:roles:grafana:
  68. - match: pillar
  69. - grafana
  70. # gogs
  71. nodes:{{ grains['id'] }}:roles:gogs:
  72. - match: pillar
  73. - gogs
  74. # graylog
  75. nodes:{{ grains['id'] }}:roles:graylog:
  76. - match: pillar
  77. - graylog
  78. # icingaweb2
  79. nodes:{{ grains['id'] }}:roles:icinga2server:
  80. - match: pillar
  81. - icingaweb2
  82. # KVM hosts
  83. nodes:{{ grains['id'] }}:roles:kvm:
  84. - match: pillar
  85. - kvm
  86. # (Authoritive?) DNS server
  87. nodes:{{ grains['id'] }}:roles:dns-server:
  88. - match: pillar
  89. - dns-server
  90. # DNS recursor
  91. nodes:{{ grains['id'] }}:roles:dns-recursor:
  92. - match: pillar
  93. - dns-server
  94. - anycast-healthchecker
  95. # LDAP replicas
  96. nodes:{{ grains['id'] }}:roles:ldap-replica:
  97. - match: pillar
  98. - slapd
  99. - anycast-healthchecker
  100. # Webfrontend
  101. nodes:{{ grains['id'] }}:roles:frontend:
  102. - match: pillar
  103. - nginx
  104. # DSL / PPPoE
  105. nodes:{{ grains['id'] }}:roles:pppoe:
  106. - match: pillar
  107. - pppoe
  108. # InfluxDB
  109. nodes:{{ grains['id'] }}:roles:influxdb:
  110. - match: pillar
  111. - influxdb
  112. # webserver
  113. nodes:{{ grains['id'] }}:roles:webserver:
  114. - match: pillar
  115. - nginx
  116. # yanic
  117. nodes:{{ grains['id'] }}:roles:yanic:
  118. - match: pillar
  119. - yanic
  120. # Docker
  121. nodes:{{ grains['id'] }}:roles:docker:
  122. - match: pillar
  123. - docker
  124. # LibreNMS
  125. nodes:{{ grains['id'] }}:roles:librenms:
  126. - match: pillar
  127. - librenms