From 4f59be7397c51cea95e2d6d4a33104043a784efc Mon Sep 17 00:00:00 2001
From: Jan Philipp Timme <jan.philipp@timme.it>
Date: Tue, 3 Dec 2019 18:25:33 +0100
Subject: [PATCH] Use defaults.yaml for hshbase.time

---
 hshbase/time/files/ntp.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hshbase/time/files/ntp.conf b/hshbase/time/files/ntp.conf
index f3303d1..b69b658 100644
--- a/hshbase/time/files/ntp.conf
+++ b/hshbase/time/files/ntp.conf
@@ -1,3 +1,6 @@
+{%- from "hshbase/map.jinja" import hshbase with context -%}
+### THIS FILE IS MANAGED BY SALT!
+### YOUR CHANGES WILL BE OVERWRITTEN!
 # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
 
 driftfile /var/lib/ntp/ntp.drift
@@ -13,7 +16,7 @@ filegen clockstats file clockstats type day enable
 
 
 # You do need to talk to an NTP server or two (or three).
-server time.hs-hannover.de iburst
+server {{ hshbase['time']['server'] }} iburst
 
 # pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
 # pick a different set every time it starts up.  Please consider joining the
-- 
GitLab