Browse Source

Merge pull request #4 from aboe76/master

Minor improvements
tags/v0.6.2
David 9 years ago
parent
commit
d78e3510d6
2 changed files with 5 additions and 3 deletions
  1. +2
    -0
      README.rst
  2. +3
    -3
      firewalld/files/service.xml

+ 2
- 0
README.rst View File

@@ -59,6 +59,7 @@ Salt Compatibility
Tested with:

* 2014.1.x
* 2015.5.x

OS Compatibility
================
@@ -66,3 +67,4 @@ OS Compatibility
Tested with:

* CentOS 7
* Archlinux

+ 3
- 3
firewalld/files/service.xml View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
{%- if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %}
{%- if 'description' in service %}<description>{{ service.description }}</description>{%- endif %}
<service version="1">
{% if 'short' in service %}<short>{{ service.short }}</short>{%- else %}<short>{{ name }}</short>{%- endif %}
{% if 'description' in service %}<description>{{ service.description }}</description>{%- endif %}
{%- if 'ports' in service %}
{%- if 'tcp' in service.ports %}
{%- for v in service.ports.tcp %}

Loading…
Cancel
Save