timezone-formula/timezone/map.jinja

30 lines
793 B
Plaintext
Raw Normal View History

{% set map = {
'Debian': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'tzdata',
},
2016-11-17 20:45:51 +01:00
'RedHat': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'tzdata',
},
'Suse': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'timezone',
},
2016-09-29 20:12:32 +02:00
'Arch': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'tzdata',
},
2018-02-17 13:37:00 +01:00
'FreeBSD': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'zoneinfo',
},
} %}
{% set confmap = map.get(grains.os_family) %}