OP#830 finalize default config values

This commit is contained in:
2026-10-02 15:48:36 +02:00
parent a978d1c95b
commit 281ce8ac26
2 changed files with 14 additions and 6 deletions

View File

@@ -12,6 +12,11 @@
# @param [String] cy_min_sources Minimum number of selectable sources required
# to adjust the system clock. Primarily used for servers.
# @param [String] cy_client_allow CIDR notation for allowed client networks
# @param [String] cy_leapsec_mode Leap second handling mode. Valid values are
# 'slew' or 'step'.
# @param [String] cy_leapsectz Leap second timezone file to use.
# @param [String] cy_loginfo Log information to record. Valid values are
# 'measurements', 'statistics', and 'tracking'.
###############################################################################
class confdroid_ntp::params (
@@ -24,6 +29,9 @@ class confdroid_ntp::params (
Array $cy_conf_servers = ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org'],
String $cy_min_sources = '3',
String $cy_client_allow = '192.168.1.0/24',
String $cy_leapsec_mode = 'slew',
String $cy_leapsectz = 'right/UTC',
String $cy_loginfo = 'measurements statistics tracking',
) {
# facts