Browse Source

Python3 comes with ipaddress included.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
bd93122a0f
1 changed files with 0 additions and 15 deletions
  1. 0 15
      network/interfaces/base.sls

+ 0 - 15
network/interfaces/base.sls

@@ -7,18 +7,6 @@
 ifupdown2:
   pkg.installed
 
-# Require for some functions of ffho_net module, so make sure they are present.
-# Used by functions for bird and dhcp-server for example.
-python-network-pkgs:
-  pkg.installed:
-    - pkgs:
-{% if grains.oscodename == "buster" %}
-      - python3-ipaddress
-{% else %}
-      - python-ipaddress
-{% endif %}
-
-
 # ifupdown2 configuration
 /etc/network/ifupdown2/ifupdown2.conf:
   file.managed:
@@ -27,7 +15,6 @@ python-network-pkgs:
       - salt://network/ifupdown2.conf
     - require:
       - pkg: ifupdown2
-      - pkg: python-network-pkgs
 
 
 # Write network configuration
@@ -37,5 +24,3 @@ python-network-pkgs:
     - source: salt://network/interfaces/interfaces.tmpl
     - require:
       - pkg: ifupdown2
-
-