fix(debian10 iptables): install iptables from buster-backports
* fix(debian10 iptables): install iptables from buster-backports * fix(debian 10 iptables): Arch Linux test Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
This commit is contained in:
parent
70cf9fa8d5
commit
8d5c0c9410
13
firewalld/debian10.sls
Normal file
13
firewalld/debian10.sls
Normal 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
|
@ -16,6 +16,9 @@ firewalld-unsupported:
|
|||||||
{% elif firewalld.enabled %}
|
{% elif firewalld.enabled %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
{% if grains.get('osfinger', '') == 'Debian-10' %}
|
||||||
|
- firewalld.debian10
|
||||||
|
{% endif %}
|
||||||
- firewalld.config
|
- firewalld.config
|
||||||
- firewalld.ipsets
|
- firewalld.ipsets
|
||||||
- firewalld.backend
|
- firewalld.backend
|
||||||
|
Loading…
Reference in New Issue
Block a user