|
123456789101112131415161718192021222324252627282930 |
-
-
-
-
- {% from "firewalld/map.jinja" import firewalld with context %}
-
- directory_firewalld:
- file.directory:
- - name: /etc/firewalld
- - user: root
- - group: root
- - mode: 750
- - require:
- - pkg: package_firewalld
-
- config_firewalld:
- file.managed:
- - name: /etc/firewalld/firewalld.conf
- - user: root
- - group: root
- - mode: 644
- - source: salt://firewalld/files/firewalld.conf
- - template: jinja
- - require:
- - pkg: package_firewalld
- - file: directory_firewalld
- - require_in:
- - service: service_firewalld
- - watch_in:
- - cmd: reload_firewalld
|