瀏覽代碼

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>
tags/v1.3.1
Gino Naumann 3 年之前
父節點
當前提交
8d5c0c9410
No account linked to committer's email address
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. +13
    -0
      firewalld/debian10.sls
  2. +3
    -0
      firewalld/init.sls

+ 13
- 0
firewalld/debian10.sls 查看文件

@@ -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 查看文件

@@ -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

Loading…
取消
儲存