mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix example code block in grains.filter_by
This commit is contained in:
parent
ec5b167497
commit
79db57f08f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user