Browse Source

fix(debian10 iptables): install iptables from buster-backports

pull/50/head
Gino Naumann 3 years ago
parent
commit
5105240a49
2 changed files with 16 additions and 0 deletions
  1. +13
    -0
      firewalld/debian10.sls
  2. +3
    -0
      firewalld/init.sls

+ 13
- 0
firewalld/debian10.sls View File

@@ -0,0 +1,13 @@
{% from "firewalld/map.jinja" import firewalld with context %}

firewalld_repo_buster-backports:
pkgrepo.managed:
- name: deb http://deb.debian.org/debian buster-backports main
- file: /etc/apt/sources.list.d/buster-backports.list

firewalld_install_iptables_from_buster-backports:
pkg.installed:
- name: iptables
- fromrepo: buster-backports
- version: '1.8.5*'
- refresh: True

+ 3
- 0
firewalld/init.sls View File

@@ -16,6 +16,9 @@ firewalld-unsupported:
{% elif firewalld.enabled %}

include:
{% if grains['osfinger'] == 'Debian-10' %}
- firewalld.debian10
{% endif %}
- firewalld.config
- firewalld.ipsets
- firewalld.backend

Loading…
Cancel
Save