ng.install: follow style recommendation
This commit is contained in:
parent
445012023b
commit
dc5600d19e
@ -51,12 +51,11 @@ nginx_zypp_repo:
|
||||
|
||||
{% if salt['grains.get']('os_family') == 'RedHat' %}
|
||||
nginx_yum_repo:
|
||||
pkgrepo:
|
||||
{%- if nginx.install_from_repo %}
|
||||
- managed
|
||||
{%- else %}
|
||||
- absent
|
||||
{%- endif %}
|
||||
{%- if nginx.install_from_repo %}
|
||||
pkgrepo.managed:
|
||||
{%- else %}
|
||||
pkgrepo.absent:
|
||||
{%- endif %}
|
||||
- name: nginx
|
||||
- humanname: nginx repo
|
||||
{%- if salt['grains.get']('os') == 'CentOS' %}
|
||||
|
Loading…
Reference in New Issue
Block a user