瀏覽代碼

Merge pull request #3 from saxonww/master

fix header issue
tags/v0.6.2
David 10 年之前
父節點
當前提交
0d285162d2
共有 3 個檔案被更改,包括 0 行新增3 行删除
  1. +0
    -1
      firewalld/files/firewalld.conf
  2. +0
    -1
      firewalld/files/service.xml
  3. +0
    -1
      firewalld/files/zone.xml

+ 0
- 1
firewalld/files/firewalld.conf 查看文件

@@ -1,4 +1,3 @@
{{pillar['headers']['salt']['file']}}
{% set firewalld = pillar.get('firewalld', {}) -%}
# firewalld config file


+ 0
- 1
firewalld/files/service.xml 查看文件

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
{{pillar['headers']['salt']['xml']}}
<service>
{% if 'short' in service %}<short>{{ service.short }}</short>{% else %}<short>{{ name }}</short>{% endif %}
{% if 'description' in service %}<description>{{ service.description }}</description>{% endif %}

+ 0
- 1
firewalld/files/zone.xml 查看文件

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
{{pillar['headers']['salt']['xml']}}
<zone{% if 'target' in zone %} target="{{ zone.target }}"{% endif %}>
{% if 'short' in zone %}<short>{{ zone.short }}</short>{% else %}<short>{{ name }}</short>{% endif %}
{% if 'description' in zone %}<description>{{ zone.description }}</description>{% endif %}

Loading…
取消
儲存