瀏覽代碼

don't try to load pkgrepo on non-Debian distros

fixes #83 by wrapping contents of pkgrepo/init.sls in an {% if %}.

Change-Id: I8260fdf5cf802c0b28197516da374add6c3002a2
master
Will Saxon 10 年之前
父節點
當前提交
ae8e4ca492
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      salt/pkgrepo/init.sls

+ 2
- 0
salt/pkgrepo/init.sls 查看文件

@@ -1,2 +1,4 @@
{% if grains['os_family'] == 'Debian' %}
include:
- .{{ grains['os']|lower }}
{% endif %}

Loading…
取消
儲存