mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2025-02-17 18:14:29 +01:00
20 lines
502 B
Plaintext
20 lines
502 B
Plaintext
|
{% set map = {
|
||
|
'Debian': {
|
||
|
'path_localtime': '/etc/localtime',
|
||
|
'path_zoneinfo': '/usr/share/zoneinfo/',
|
||
|
'pkgname': 'tzdata',
|
||
|
},
|
||
|
'Redhat': {
|
||
|
'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) %}
|