From 61acd4fd75044c2a36918edc9cc1929633231483 Mon Sep 17 00:00:00 2001 From: Tim Goodaire Date: Mon, 23 May 2016 14:51:17 -0400 Subject: [PATCH] Explicitly list the grain that we're filtering by (even though it's the default) --- postgres/map.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/map.jinja b/postgres/map.jinja index 415e344..c6032f0 100644 --- a/postgres/map.jinja +++ b/postgres/map.jinja @@ -3,7 +3,7 @@ {% import_yaml "postgres/codenamemap.yaml" as codemap %} {# get the settings for the os_family grain #} -{% set osfam = salt['grains.filter_by'](osmap) or {} %} +{% set osfam = salt['grains.filter_by'](osmap, grain='os_family') or {} %} {# get the settings for the oscodename grain, os_family data will override oscodename data #} {% set oscode = salt['grains.filter_by'](codemap,