mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2025-02-13 02:10:52 +01:00
10 lines
258 B
Plaintext
10 lines
258 B
Plaintext
# This state configures the timezone.
|
|
|
|
{%- set timezone = salt['pillar.get']('timezone:name', 'Europe/Berlin') %}
|
|
{%- set utc = salt['pillar.get']('timezone:utc', True) %}
|
|
|
|
timezone_setting:
|
|
timezone.system:
|
|
- name: {{ timezone }}
|
|
- utc: {{ utc }}
|