Merge pull request #2 from aboe76/archlinux_support

Archlinux support
This commit is contained in:
landergate 2016-11-17 12:34:12 +03:00 committed by GitHub
commit aee38cf2c5
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: timezone
os: Debian, RedHat, Suse
os_family: Debian, RedHat, Suse
os: Debian, RedHat, Suse, Arch
os_family: Debian, RedHat, Suse, Arch
version: 201504
release: 1
minimum_version: 2015.5

View File

@ -14,6 +14,11 @@
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'timezone',
},
'Arch': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'tzdata',
},
} %}
{% set confmap = map.get(grains.os_family) %}