Newer
Older
{% from "hshbase/map.jinja" import hshbase with context %}
{% if (grains['os'] == 'Debian' and grains['osmajorrelease'] >= 10) or grains['os'] == 'Ubuntu' and grains['osmajorrelease'] >= 18 %}
/etc/ntp.conf:
file.absent:
- require:
- pkg: ntp
hsh_ntp_service_not_running:
service.disabled:
- name: ntp
- require:
- file: /etc/ntp.conf
- pkg: ntp
hsh_server_timezone:
timezone.system:
- name: {{ hshbase.time.zone }}