diff --git a/apt-cacher/ng/server.sls b/apt-cacher/ng/server.sls index da3a43a..1c40aaa 100644 --- a/apt-cacher/ng/server.sls +++ b/apt-cacher/ng/server.sls @@ -1,12 +1,12 @@ {% if grains['os_family'] == 'Debian' %} {% from "apt-cacher/ng/map.jinja" import apt_cacher_ng with context %} -{% if 'include' in apt_cacher_ng %} +{%- if 'include' in apt_cacher_ng %} include: -{% for include_line in apt_cacher_ng.include %} +{%- for include_line in apt_cacher_ng.include %} - {{ include_line }} -{% endfor %} -{% endif %} +{%- endfor %} +{%- endif %} apt-cacher-ng: pkg.installed: