2016-09-28 16:14:08 +02:00
|
|
|
{% set map = {
|
2016-09-28 17:24:00 +02:00
|
|
|
'Debian': {
|
|
|
|
'path_localtime': '/etc/localtime',
|
|
|
|
'path_zoneinfo': '/usr/share/zoneinfo/',
|
|
|
|
'pkgname': 'tzdata',
|
|
|
|
},
|
2016-09-28 16:14:08 +02:00
|
|
|
'Suse': {
|
2016-09-28 16:44:20 +02:00
|
|
|
'path_localtime': '/etc/localtime',
|
|
|
|
'path_zoneinfo': '/usr/share/zoneinfo/',
|
2016-09-28 16:14:08 +02:00
|
|
|
'pkgname': 'timezone',
|
|
|
|
},
|
|
|
|
} %}
|
|
|
|
|
|
|
|
{% set confmap = map.get(grains.os_family) %}
|