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

Tested with: Tested with:


* 2014.1.x * 2014.1.x
* 2015.5.x


OS Compatibility OS Compatibility
================ ================
Tested with: Tested with:


* CentOS 7 * CentOS 7
* Archlinux

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

<?xml version="1.0" encoding="utf-8"?> <?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 'ports' in service %}
{%- if 'tcp' in service.ports %} {%- if 'tcp' in service.ports %}
{%- for v in service.ports.tcp %} {%- for v in service.ports.tcp %}

Loading…
Cancel
Save