ng.install: follow style recommendation

This commit is contained in:
Krzysztof Pawłowski 2015-08-20 09:17:55 +02:00
parent 445012023b
commit dc5600d19e

View File

@ -51,12 +51,11 @@ nginx_zypp_repo:
{% if salt['grains.get']('os_family') == 'RedHat' %} {% if salt['grains.get']('os_family') == 'RedHat' %}
nginx_yum_repo: nginx_yum_repo:
pkgrepo: {%- if nginx.install_from_repo %}
{%- if nginx.install_from_repo %} pkgrepo.managed:
- managed {%- else %}
{%- else %} pkgrepo.absent:
- absent {%- endif %}
{%- endif %}
- name: nginx - name: nginx
- humanname: nginx repo - humanname: nginx repo
{%- if salt['grains.get']('os') == 'CentOS' %} {%- if salt['grains.get']('os') == 'CentOS' %}