Merge pull request #5 from camlog/feature-freebsdsupport

FreeBSD support
This commit is contained in:
Niels Abspoel
2018-02-17 14:05:30 +01:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: timezone
os: Debian, RedHat, Suse, Arch
os_family: Debian, RedHat, Suse, Arch
os: Debian, RedHat, Suse, Arch, FreeBSD
os_family: Debian, RedHat, Suse, Arch, FreeBSD
version: 201504
release: 1
minimum_version: 2015.5
+5
View File
@@ -19,6 +19,11 @@
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'tzdata',
},
'FreeBSD': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'zoneinfo',
},
} %}
{% set confmap = map.get(grains.os_family) %}