Browse Source

Install nginx on frontends and pppoe if required.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 years ago
parent
commit
75194b3188
1 changed files with 10 additions and 0 deletions
  1. 10 0
      top.sls

+ 10 - 0
top.sls

@@ -66,6 +66,16 @@ base:
     - match: pillar
     - dns-server.auth
 
+  # Webfrontend
+  nodes:{{ grains['id'] }}:roles:frontend:
+    - match: pillar
+    - nginx
+
+  # DSL / PPPoE
+  nodes:{{ grains['id'] }}:roles:pppoe:
+    - match: pillar
+    - pppoe
+
   # InfluxDB
   nodes:{{ grains['id'] }}:roles:influxdb:
     - match: pillar