From ae8e4ca4927d3be0aa5b43bad0006c2e77c0794d Mon Sep 17 00:00:00 2001 From: Will Saxon Date: Sun, 11 Jan 2015 04:15:33 -0500 Subject: [PATCH] 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 --- salt/pkgrepo/init.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/pkgrepo/init.sls b/salt/pkgrepo/init.sls index 0d41bc4..67e3596 100644 --- a/salt/pkgrepo/init.sls +++ b/salt/pkgrepo/init.sls @@ -1,2 +1,4 @@ +{% if grains['os_family'] == 'Debian' %} include: - .{{ grains['os']|lower }} +{% endif %}