summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-09-01 22:03:38 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-09-01 22:13:19 +0200
commita35751e6d75ed55f81f6bf86c565d8cb33e8e8c9 (patch)
tree00832690355cf24553e63003aa724ea7294b7ed4
parent5a37b98af0811999e06aec8eb874065a532d9e42 (diff)
downloadpuppet.KATH-a35751e6d75ed55f81f6bf86c565d8cb33e8e8c9.tar.gz
puppet.KATH-a35751e6d75ed55f81f6bf86c565d8cb33e8e8c9.tar.bz2
puppet.KATH-a35751e6d75ed55f81f6bf86c565d8cb33e8e8c9.zip
site.pp: Let roaming workstations use TJENER's NTP service.
-rw-r--r--code/environments/production/manifests/site.pp6
1 files changed, 6 insertions, 0 deletions
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'],