Browse Source

Added support for other OS naming schemes

tags/v0.2.0
Mark Gomersbach 7 years ago
parent
commit
6fdd5c2cff
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ufw/init.sls

+ 2
- 1
ufw/init.sls View File

@@ -1,12 +1,13 @@
# UFW management module
{%- set ufw = pillar.get('ufw', {}) %}
{%- if ufw.get('enabled', False) %}
{% from "ufw/map.jinja" import ufwmap with context %}
{% set default_template = ufw.get('default_template', 'salt://ufw/templates/default.jinja') -%}
{% set sysctl_template = ufw.get('sysctl_template', 'salt://ufw/templates/sysctl.jinja') -%}

ufw:
pkg.installed:
- name: ufw
- name: {{ ufwmap.pkg }}
service.running:
- enable: True
- watch:

Loading…
Cancel
Save