ntpd: Added option to disable strict ACLs for isc-ntpd

This commit is contained in:
Ossi Salmi 2013-06-13 12:28:38 +03:00
parent 7a335ec644
commit 246816f417
2 changed files with 20 additions and 2 deletions

View file

@ -6,6 +6,11 @@
# Array of NTP servers using [] will disable external servers.
# Defaults to pool.ntp.org.
#
# $ntp_strict:
# When set to "false", permit time synchronization by default. Required
# for pool.ntp.org or similar server names which have multiple addresses.
# Defaults to "true".
#
# $ntp_client_networks:
# Array of networks that are allowed to query this server in format
# [ "192.168.1.0/255.255.255.0", "192.168.2.0/255.255.255.0", ] or
@ -17,6 +22,10 @@ class ntpd {
$ntp_server = ["pool.ntp.org"]
}
if !$ntp_strict {
$ntp_strict = "true"
}
case $::operatingsystem {
"fedora": {
case $::operatingsystemrelease {