fix(macos): add macos support

This commit is contained in:
N
2019-06-11 13:18:33 +01:00
parent 646159fc5b
commit e93df988bb
2 changed files with 6 additions and 0 deletions
+4
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 %}
+2
View File
@@ -1,4 +1,6 @@
{% set map = {
'MacOS': {
},
'Debian': {
'path_localtime': '/etc/localtime',
'path_zoneinfo': '/usr/share/zoneinfo/',