Skip to content

Commit

Permalink
fix(debian10 iptables): install iptables from buster-backports
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
genaumann and myii committed Jun 22, 2021
1 parent 70cf9fa commit 8d5c0c9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions firewalld/debian10.sls
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions firewalld/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ firewalld-unsupported:
{% elif firewalld.enabled %}
include:
{% if grains.get('osfinger', '') == 'Debian-10' %}
- firewalld.debian10
{% endif %}
- firewalld.config
- firewalld.ipsets
- firewalld.backend
Expand Down

0 comments on commit 8d5c0c9

Please sign in to comment.