0
0
mirror of https://github.com/saltstack-formulas/timezone-formula.git synced 2024-12-12 23:12:35 +01:00
timezone-formula/timezone/map.jinja

16 lines
591 B
Plaintext
Raw Normal View History

{% import_yaml "timezone/defaults.yaml" as defaults %}
{% import_yaml "timezone/osfamilymap.yaml" as osfamilymap %}
{% set osfam = salt['grains.filter_by'](
osfamilymap,
grain='os_family'
) or {} %}
{% do salt['defaults.merge'](defaults, osfam) %}
{%- set confmap = salt['pillar.get'](
'timezone:lookup',
default=defaults,
merge=True,
) %}