0
0
mirror of https://github.com/saltstack-formulas/timezone-formula.git synced 2024-11-28 01:17:58 +01:00
timezone-formula/timezone/osfamilymap.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

44 lines
697 B
YAML

# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables using grains['os_family'] based logic.
# You just need to add the key:values for an `os_family` that differ
# from `defaults.yaml` + `osarch.yaml`.
# Only add an `os_family` which is/will be supported by the formula.
#
# If you do not need to provide defaults via the `os_family` grain,
# you will need to provide at least an empty dict in this file, e.g.
# osfamilymap: {}
---
Debian: {}
RedHat: {}
Suse:
pkg:
name: timezone
dbus:
pkg: dbus-1
Gentoo:
pkg:
name: sys-libs/timezone-data
Arch: {}
Alpine: {}
FreeBSD:
pkg:
name: zoneinfo
OpenBSD:
pkg:
name: zoneinfo
Solaris: {}
Windows: {}
MacOS: {}