X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Ftime%2Fmanifests%2Finit.pp;h=9f1ec6032e43194b49c8d4436cb44b08b6b3544d;hb=624f7dc09f95804ef9a3b34346fb0b2062f30b44;hp=1900443fde7991e96593221b97f4da4301fd3d50;hpb=0faf9685026413c4b14bc2baa512b27f51b3d65d;p=mirror%2Fdsa-puppet.git diff --git a/modules/time/manifests/init.pp b/modules/time/manifests/init.pp index 1900443fd..9f1ec6032 100644 --- a/modules/time/manifests/init.pp +++ b/modules/time/manifests/init.pp @@ -3,9 +3,8 @@ class time { $localtimeservers = hiera('local-timeservers', []) $physicalHost = $site::allnodeinfo[$fqdn]['physicalHost'] - # if ($::kernel == 'Linux' and $::is_virtual and $::virtual == 'kvm' - # our is_virtual and virtual facts are broken - if ($systemd and $physicalHost and size($localtimeservers) > 0) { + #if ($systemd and $physicalHost and size($localtimeservers) > 0) { + if ($systemd and size($localtimeservers) > 0 and $::is_virtual and $::virtual == 'kvm') { include ntp::purge include systemdtimesyncd } else {