]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Revert "Use the leap-seconds.list file from tzdata on jessie (see #775166)"
authorPaul Wise <pabs@debian.org>
Thu, 30 Apr 2015 00:35:51 +0000 (08:35 +0800)
committerPaul Wise <pabs@debian.org>
Thu, 30 Apr 2015 00:35:51 +0000 (08:35 +0800)
This reverts commit d2e73a9e90b6d671c545ba2c552239bf55e1f20f.

Too early!

modules/ntp/manifests/timeserver.pp
modules/ntp/templates/ntp.conf

index 586ebc87ec43f7310dff90e68a148a913da18ecb..f86ddf47087510646cba0cdd5f35ba494c6a17ee 100644 (file)
@@ -1,13 +1,7 @@
 class ntp::timeserver {
-       if ($::lsbmajdistrelease >= 8) {
-               file { '/var/lib/ntp/leap-seconds.list':
-                       ensure => absent,
-               }
-       } else {
-               file { '/var/lib/ntp/leap-seconds.list':
-                       source  => 'puppet:///modules/ntp/leap-seconds.list',
-                       require => Package['ntp'],
-                       notify  => Service['ntp'],
-               }
+       file { '/var/lib/ntp/leap-seconds.list':
+               source  => 'puppet:///modules/ntp/leap-seconds.list',
+               require => Package['ntp'],
+               notify  => Service['ntp'],
        }
 }
index 0e63ee7767d9f7f30d3cd682c3c69c3201b69cdc..9e68804708b1a5cb8e52415b954dd3901a680331 100644 (file)
@@ -21,11 +21,7 @@ server 1.debian.pool.ntp.org iburst dynamic
 server 2.debian.pool.ntp.org iburst dynamic
 server 3.debian.pool.ntp.org iburst dynamic
 
-<% if @lsbmajdistrelease >= '8' -%>
-leapfile /usr/share/zoneinfo/leap-seconds.list
-<% else -%>
 leapfile /var/lib/ntp/leap-seconds.list
-<% end -%>
 <% elsif scope.lookupvar('site::nodeinfo')['misc']['natted'] -%>
 # autokey doesn't work behind nat