瀏覽代碼

Merge pull request #94 from msciciel/msciciel

subscribe to repo only if install_from_repo variable is set to true
tags/v0.55.0
puneet kandhari 9 年之前
父節點
當前提交
92ac29b872
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      nginx/ng/install.sls

+ 4
- 0
nginx/ng/install.sls 查看文件

@@ -51,7 +51,11 @@ nginx_zypp_repo:

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

Loading…
取消
儲存