mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2025-02-17 18:14:29 +01:00
15 lines
357 B
Django/Jinja
15 lines
357 B
Django/Jinja
{% set map = {
|
|
'Debian': {
|
|
'path_localtime': '/etc/localtime',
|
|
'path_zoneinfo': '/usr/share/zoneinfo/',
|
|
'pkgname': 'tzdata',
|
|
},
|
|
'Suse': {
|
|
'path_localtime': '/etc/localtime',
|
|
'path_zoneinfo': '/usr/share/zoneinfo/',
|
|
'pkgname': 'timezone',
|
|
},
|
|
} %}
|
|
|
|
{% set confmap = map.get(grains.os_family) %}
|