Browse Source

Add simple utils state to list utils worth installing

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 months ago
parent
commit
47b4966ae8
3 changed files with 13 additions and 4 deletions
  1. 0 4
      network/init.sls
  2. 1 0
      top.sls
  3. 12 0
      utils.sls

+ 0 - 4
network/init.sls

@@ -16,10 +16,6 @@ network-pkg:
   pkg.installed:
     - pkgs:
       - iproute2
-      - tcpdump
-      - mtr-tiny
-      - iperf
-      - dnsutils
       - ipv6calc
     - require_in:
       - file: /etc/network/interfaces

+ 1 - 0
top.sls

@@ -24,6 +24,7 @@ base:
     - timezone
     - vim
     - unattended-upgrades
+    - utils
 
 #
 # Roles

+ 12 - 0
utils.sls

@@ -0,0 +1,12 @@
+utils:
+  pkg.installed:
+    - pkgs:
+      # System
+      - sysstat
+      - htop
+      # dig
+      - dnsutils
+      # networking
+      - mtr-tiny
+      - tcpdump
+      - iperf