Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

timezone.sls 292B

9 years ago
9 years ago
123456789101112131415
  1. {%- from "linux/map.jinja" import system with context %}
  2. {%- if system.enabled %}
  3. {%- if system.timezone is defined %}
  4. {{ system.timezone }}:
  5. timezone.system:
  6. {%- if grains.get('noservices') %}
  7. - onlyif: /bin/false
  8. {%- endif %}
  9. - utc: {{ system.utc }}
  10. {%- endif %}
  11. {%- endif %}