瀏覽代碼

ng.install: follow style recommendation

tags/v0.55.0
Krzysztof Pawłowski 9 年之前
父節點
當前提交
dc5600d19e
共有 1 個檔案被更改,包括 5 行新增6 行删除
  1. +5
    -6
      nginx/ng/install.sls

+ 5
- 6
nginx/ng/install.sls 查看文件

@@ -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…
取消
儲存