1
0
Fork 0
mirror of synced 2024-12-21 21:51:09 -05:00

Fix deep merge of settings

This commit is contained in:
Gilles Dartiguelongue 2017-02-14 17:03:08 +01:00
parent 3676ff6216
commit 0ac29dd03f

View file

@ -40,11 +40,9 @@
merge=os_family_map) or {}
%}
{% do default_settings.logrotate.update(os_map) %}
{% set logrotate = salt['pillar.get'](
'logrotate',
default=default_settings.logrotate,
merge=True
{% set logrotate = salt['grains.filter_by'](
default_settings,
merge=os_map,
base='logrotate',
)
%}