Merge pull request #10 from noelmcloughlin/macos

fix(macos): add macos support
This commit is contained in:
N 2019-06-18 01:41:10 +01:00 committed by GitHub
commit 4657f44f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -9,6 +9,8 @@ timezone_setting:
- name: {{ timezone }}
- utc: {{ utc }}
{%- if grains.os not in ('MacOS', 'Windows') %}
timezone_packages:
pkg.installed:
- name: {{ confmap.pkgname }}
@ -20,3 +22,5 @@ timezone_symlink:
- force: true
- require:
- pkg: {{ confmap.pkgname }}
{%- endif %}

View File

@ -12,4 +12,4 @@
'timezone:lookup',
default=defaults,
merge=True,
) %}
) %}

View File

@ -3,4 +3,5 @@ Suse:
FreeBSD:
pkgname: zoneinfo
Gentoo:
pkgname: sys-libs/timezone-data
pkgname: sys-libs/timezone-data
MacOS: {}