X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Ftime%2Fmanifests%2Finit.pp;h=e89210bf24a413f21b1575b12c05032fc2a05de4;hb=59812388abf4638d6065ffda934d1866af902302;hp=c6d2550086eb609e3849891dc6ace575173d5c65;hpb=e97ada246f6bbbdb8007d1156db9007b518aaf43;p=mirror%2Fdsa-puppet.git diff --git a/modules/time/manifests/init.pp b/modules/time/manifests/init.pp index c6d255008..e89210bf2 100644 --- a/modules/time/manifests/init.pp +++ b/modules/time/manifests/init.pp @@ -1,14 +1,13 @@ class time { include stdlib $localtimeservers = hiera('local-timeservers', []) - $physicalHost = $site::allnodeinfo[$fqdn]['physicalHost'] + $physicalHost = $deprecated::allnodeinfo[$fqdn]['physicalHost'] #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 { - #include ntp - #include ntpdate + } else { + include ntp } }