firewalld-formula/firewalld/backend.sls
2018-08-12 20:26:21 +02:00

12 lines
305 B
Plaintext

# == State: firewalld.backends
#
# This state ensures that /etc/firewalld/backends/ exists.
#
{% from "firewalld/map.jinja" import firewalld with context %}
{%- if salt['pillar.get']('firewalld:installbackend') %}
package_backend:
pkg.installed:
- name: {{ firewalld.backendpackage }}
{%- endif %}