X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Ftime%2Fmanifests%2Finit.pp;h=9f1ec6032e43194b49c8d4436cb44b08b6b3544d;hb=624f7dc09f95804ef9a3b34346fb0b2062f30b44;hp=808ef2816137aba85815b53db9147a905b958a9e;hpb=512f9595315a422628aef4f1cc1f4cf51ca41a07;p=mirror%2Fdsa-puppet.git diff --git a/modules/time/manifests/init.pp b/modules/time/manifests/init.pp index 808ef2816..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' #if ($systemd and $physicalHost and size($localtimeservers) > 0) { - if ($systemd and size($localtimeservers) > 0 and $::virt == 'kvm') { + if ($systemd and size($localtimeservers) > 0 and $::is_virtual and $::virtual == 'kvm') { include ntp::purge include systemdtimesyncd } else {