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 }} - name: {{ timezone }}
- utc: {{ utc }} - utc: {{ utc }}
{%- if grains.os not in ('MacOS', 'Windows') %}
timezone_packages: timezone_packages:
pkg.installed: pkg.installed:
- name: {{ confmap.pkgname }} - name: {{ confmap.pkgname }}
@ -20,3 +22,5 @@ timezone_symlink:
- force: true - force: true
- require: - require:
- pkg: {{ confmap.pkgname }} - pkg: {{ confmap.pkgname }}
{%- endif %}

View File

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