Fix example code block in grains.filter_by

This commit is contained in:
James O'Neill 2014-08-09 13:41:40 +12:00
parent ec5b167497
commit 79db57f08f

View File

@ -362,8 +362,7 @@ def filter_by(lookup_dict, grain='os_family', merge=None, default='default'):
{% set apache = salt['grains.filter_by']({
'Debian': {'pkg': 'apache2', 'srv': 'apache2'},
'RedHat': {'pkg': 'httpd', 'srv': 'httpd'},
'default': 'Debian',
}) %}
}), default='Debian' %}
myapache:
pkg: