From a35751e6d75ed55f81f6bf86c565d8cb33e8e8c9 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 1 Sep 2024 22:03:38 +0200 Subject: site.pp: Let roaming workstations use TJENER's NTP service. --- code/environments/production/manifests/site.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'code') diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index ccaa01f..f5ed779 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -321,6 +321,12 @@ class ensure_roaming_workstation { match => '^PROFILE=.*', } + file_line { 'debianedu_timesyncd_use_local_ntpserver': + path => '/etc/systemd/timesyncd.conf', + ensure => present, + line => 'NTP=ntp', + match => '^(#|)NTP=.*', + } exec { 'convert_to_profile_roamingworkstation': command => "/usr/sbin/cf-agent -I -D installation", subscribe => File_Line['debianedu_profile_roamingworkstation'], -- cgit v1.2.3