From 7d70e58675c917990af54877813e4903d70de54f Mon Sep 17 00:00:00 2001 From: Dennis Ahrens <dennis.ahrens@hs-hannover.de> Date: Thu, 28 Apr 2016 14:36:34 +0200 Subject: [PATCH] Locales should only apply on debian for now --- hshbase/locale.sls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hshbase/locale.sls b/hshbase/locale.sls index c2b9e06..0940148 100644 --- a/hshbase/locale.sls +++ b/hshbase/locale.sls @@ -1,5 +1,6 @@ {% from "hshbase/map.jinja" import hshbase with context %} +{% if grains['os'] in ('Debian', 'Ubuntu') %} locales: pkg.installed @@ -19,3 +20,9 @@ hshbase_locale_{{ loop.index }}: - name: {{ locale }} {% endfor %} + +{% elif grains['os'] == 'FreeBSD' %} + +{# TODO: Should we do that? #} + +{% endif %} -- GitLab