Fix deep merge of settings
This commit is contained in:
parent
3676ff6216
commit
0ac29dd03f
1 changed files with 4 additions and 6 deletions
|
@ -40,11 +40,9 @@
|
||||||
merge=os_family_map) or {}
|
merge=os_family_map) or {}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% do default_settings.logrotate.update(os_map) %}
|
{% set logrotate = salt['grains.filter_by'](
|
||||||
|
default_settings,
|
||||||
{% set logrotate = salt['pillar.get'](
|
merge=os_map,
|
||||||
'logrotate',
|
base='logrotate',
|
||||||
default=default_settings.logrotate,
|
|
||||||
merge=True
|
|
||||||
)
|
)
|
||||||
%}
|
%}
|
||||||
|
|
Loading…
Reference in a new issue