summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.el.erb
diff options
context:
space:
mode:
authorRyan Coleman <ryan@puppetlabs.com>2012-10-09 18:33:51 -0700
committerRyan Coleman <ryan@puppetlabs.com>2012-10-09 18:33:51 -0700
commit8725bb8dc0a744709e09e268f1ea073247d234c5 (patch)
tree5f7a404d3c8ac93dc9ac60fa37546c831311f9b1 /templates/ntp.conf.el.erb
parent8c9af68fa75486465cf1489162da5d7ed9e27204 (diff)
parentaa336b4e8fcfc5a9d4ee2acb834d4a5b268f6fcf (diff)
Merge pull request #19 from hakamadare/master
(#14497) Add tinker_panic option for ntpd
Diffstat (limited to 'templates/ntp.conf.el.erb')
-rw-r--r--templates/ntp.conf.el.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb
index fc308cc..88d6d72 100644
--- a/templates/ntp.conf.el.erb
+++ b/templates/ntp.conf.el.erb
@@ -1,3 +1,9 @@
+<% 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 -%>
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery