0
0
mirror of https://github.com/saltstack-formulas/timezone-formula.git synced 2024-11-28 05:37:59 +01:00
timezone-formula/timezone/defaults.yaml
Imran Iqbal ff66e5fd10
fix: ensure formula works across all platforms
Before:

* https://travis-ci.org/github/myii/timezone-formula/builds/665820454

After:

* https://travis-ci.org/github/myii/timezone-formula/builds/665975767
* https://travis-ci.org/github/myii/timezone-formula/builds/666039725 (all platforms)

Includes:

* fix(init.sls): ensure `dbus` is available for `timezone.system` state
* fix(init.sls): use symlink to `UTC` if `localtime` does not exist
* fix(init.sls): force the creation of the initial symlink
* fix: avoid running `dbus` service on `ubuntu-16.04`, `amazonlinux-1` & `centos-6`
2020-03-23 20:45:20 +00:00

16 lines
262 B
YAML

# -*- coding: utf-8 -*-
# vim: ft=yaml
---
timezone:
name: Europe/Berlin
tz_UTC: Etc/UTC
utc: true
path_localtime: /etc/localtime
path_zoneinfo: /usr/share/zoneinfo/
pkg:
name: tzdata
dbus:
pkg: dbus
service: dbus
run_service: true