diff options
author | Will Hopper <whopper@cat.pdx.edu> | 2012-05-13 16:26:48 -0700 |
---|---|---|
committer | Will Hopper <whopper@cat.pdx.edu> | 2012-05-13 21:06:58 -0700 |
commit | 2e0d20761709818a964e8ca1ff23d84d51206d8a (patch) | |
tree | 21dc946cb0951b1064852b90fa5672a76d9b36f9 /templates | |
parent | 0b39d32f9b2fbfab83081db78600a27d3fa4a274 (diff) |
(#14457) Add FreeBSD support for the NTP class
Diffstat (limited to 'templates')
-rw-r--r-- | templates/ntp.conf.freebsd.erb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/ntp.conf.freebsd.erb b/templates/ntp.conf.freebsd.erb new file mode 100644 index 0000000..da3df1d --- /dev/null +++ b/templates/ntp.conf.freebsd.erb @@ -0,0 +1,23 @@ +# +# $FreeBSD: release/9.0.0/etc/ntp.conf 195652 2009-07-13 05:51:33Z dwmalone $ +# +# Default NTP servers for the FreeBSD operating system. +# +# Don't forget to enable ntpd in /etc/rc.conf with: +# ntpd_enable="YES" +# +# The driftfile is by default /var/db/ntpd.drift, check +# /etc/defaults/rc.conf on how to change the location. +# +# +# See http://www.pool.ntp.org/ for details. Note, the pool encourages +# users with a static IP and good upstream NTP servers to add a server +# to the pool. See http://www.pool.ntp.org/join.html if you are interested. +# +# The option `iburst' is used for faster initial synchronisation. +# The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD. +# +# Managed by puppet class { "ntp": servers => [ ... ] } +<% [servers_real].flatten.each do |server| -%> +server <%= server %> +<% end -%> |