Browse Source

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 years ago
parent
commit
ae8e4ca492
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      salt/pkgrepo/init.sls

+ 2
- 0
salt/pkgrepo/init.sls View File

{% if grains['os_family'] == 'Debian' %}
include: include:
- .{{ grains['os']|lower }} - .{{ grains['os']|lower }}
{% endif %}

Loading…
Cancel
Save