diff options
Diffstat (limited to 'templates/ntp.conf.freebsd.erb')
-rw-r--r-- | templates/ntp.conf.freebsd.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/ntp.conf.freebsd.erb b/templates/ntp.conf.freebsd.erb index da3df1d..954a2a8 100644 --- a/templates/ntp.conf.freebsd.erb +++ b/templates/ntp.conf.freebsd.erb @@ -18,6 +18,13 @@ # The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD. # # Managed by puppet class { "ntp": servers => [ ... ] } +<% if @is_virtual -%> + +# Keep ntpd from panicking in the event of a large clock skew +# when a VM guest is suspended and resumed. +tinker panic 0 + +<% end -%> <% [servers_real].flatten.each do |server| -%> server <%= server %> <% end -%> |