diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-09 16:59:43 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-09 17:01:04 -0400 |
commit | 5fd66d38ed79bb42c64ff68f26a43e71207476ef (patch) | |
tree | d313c8dba66ca14de0928340b8ab652e42f39b7a /templates/ntp.conf.gentoo.erb | |
parent | 43b484c7ab6f92c9eae165982ba127e3d3a87a2e (diff) |
Add panic as a new parameter in case people want to allow clock skews.
Diffstat (limited to 'templates/ntp.conf.gentoo.erb')
-rw-r--r-- | templates/ntp.conf.gentoo.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/ntp.conf.gentoo.erb b/templates/ntp.conf.gentoo.erb index 7b00b46..c22026a 100644 --- a/templates/ntp.conf.gentoo.erb +++ b/templates/ntp.conf.gentoo.erb @@ -6,6 +6,11 @@ # Name of the servers ntpd should sync with # Please respect the access policy as stated by the responsible person. #server ntp.example.tld iburst +<% if @panic == false -%> +# Keep ntpd from panicking in the event of a large clock skew +# # when a VM guest is suspended and resumed. +tinker panic 0 +<% end -%> # Managed by puppet class { "ntp": servers => [ ... ] } <% [@servers].flatten.each do |server| -%> |