From 41b69c1363392e99fe2b8fa1acb00855a416b4ca Mon Sep 17 00:00:00 2001 From: CV Date: Mon, 10 Jun 2024 21:39:26 +0200 Subject: [PATCH 1/3] Adopting major changes in ntp service for Debian 12 Debian 12 introduced major changes: Package changed and configuration moved. --- data/ntp/osfamily/Debian12.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/ntp/osfamily/Debian12.yaml diff --git a/data/ntp/osfamily/Debian12.yaml b/data/ntp/osfamily/Debian12.yaml new file mode 100644 index 00000000..8cda661f --- /dev/null +++ b/data/ntp/osfamily/Debian12.yaml @@ -0,0 +1,8 @@ +--- +ntp::settings: + package_name: 'ntpsec' + service_name: 'ntp' + config_file_path: '/etc/ntpsec/ntp.conf' + config_dir_path: '/etc/ntp/ntpsec' + process_user: 'ntpsec' + process_group: 'ntpsec' From b7fc83451e86cc30c8e041881522a94c174a2d6b Mon Sep 17 00:00:00 2001 From: CV Date: Thu, 13 Jun 2024 12:05:03 +0200 Subject: [PATCH 2/3] wrong config path in Debian12.yaml --- data/ntp/osfamily/Debian12.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ntp/osfamily/Debian12.yaml b/data/ntp/osfamily/Debian12.yaml index 8cda661f..1b9dd6b0 100644 --- a/data/ntp/osfamily/Debian12.yaml +++ b/data/ntp/osfamily/Debian12.yaml @@ -3,6 +3,6 @@ ntp::settings: package_name: 'ntpsec' service_name: 'ntp' config_file_path: '/etc/ntpsec/ntp.conf' - config_dir_path: '/etc/ntp/ntpsec' + config_dir_path: '/etc/ntpsec' process_user: 'ntpsec' process_group: 'ntpsec' From bb7fc01ccfed6aaa5cf6dd8f7a20532b7cfff504 Mon Sep 17 00:00:00 2001 From: CV Date: Thu, 13 Jun 2024 12:11:44 +0200 Subject: [PATCH 3/3] Corrected service name in Debian12.yaml --- data/ntp/osfamily/Debian12.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ntp/osfamily/Debian12.yaml b/data/ntp/osfamily/Debian12.yaml index 1b9dd6b0..ac0b7064 100644 --- a/data/ntp/osfamily/Debian12.yaml +++ b/data/ntp/osfamily/Debian12.yaml @@ -1,7 +1,7 @@ --- ntp::settings: package_name: 'ntpsec' - service_name: 'ntp' + service_name: 'ntpsec' config_file_path: '/etc/ntpsec/ntp.conf' config_dir_path: '/etc/ntpsec' process_user: 'ntpsec'