File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
2
2
3
+ <% if @is_virtual -%>
4
+ # Keep ntpd from panicking in the event of a large clock skew
5
+ # when a VM guest is suspended and resumed.
6
+ tinker panic 0
7
+
8
+ <% end -%>
3
9
driftfile /var/lib/ntp/ntp.drift
4
10
5
11
Original file line number Diff line number Diff line change
1
+ <% if @is_virtual -%>
2
+ # Keep ntpd from panicking in the event of a large clock skew
3
+ # when a VM guest is suspended and resumed.
4
+ tinker panic 0
5
+
6
+ <% end -%>
1
7
# Permit time synchronization with our time source, but do not
2
8
# permit the source to query or modify the service on this system.
3
9
restrict default kod nomodify notrap nopeer noquery
Original file line number Diff line number Diff line change 18
18
# The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD.
19
19
#
20
20
# Managed by puppet class { "ntp": servers => [ ... ] }
21
+ <% if @is_virtual -%>
22
+
23
+ # Keep ntpd from panicking in the event of a large clock skew
24
+ # when a VM guest is suspended and resumed.
25
+ tinker panic 0
26
+
27
+ <% end -%>
21
28
<% [ servers_real ] . flatten . each do |server | -%>
22
29
server <%= server %>
23
30
<% end -%>
You can’t perform that action at this time.
0 commit comments