Browse Source

Fix deep merge of settings

tags/v0.9.0
Gilles Dartiguelongue 8 years ago
parent
commit
0ac29dd03f
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      logrotate/map.jinja

+ 4
- 6
logrotate/map.jinja View File

merge=os_family_map) or {} 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',
) )
%} %}

Loading…
Cancel
Save