From dcce3f6129926ee50c565b45cb2c82da32f7e911 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Thu, 8 Nov 2018 21:28:13 +0100 Subject: [PATCH] Fix osfinger map.jinja made a copy paste error in map.jinja this fixes #247 --- apache/map.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apache/map.jinja b/apache/map.jinja index 98e98f1..03143a0 100644 --- a/apache/map.jinja +++ b/apache/map.jinja @@ -22,7 +22,8 @@ {% do defaults.apache.update(oscode) %} {# merge the osfingermap #} -{% set osfinger = salt['grains.filter_by'](osfingermap, grain='oscodename') or {} %} +{% set osfinger = salt['grains.filter_by'](osfingermap, grain='osfinger') or {} %} +{% do defaults.apache.update(osfinger) %} {# merge all #} {% set apache = salt['pillar.get']('apache', default=defaults['apache'], merge=true) %}