Explicitly list the grain that we're filtering by

(even though it's the default)
This commit is contained in:
Tim Goodaire 2016-05-23 14:51:17 -04:00
parent e9e41eb12c
commit 61acd4fd75

View file

@ -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,