Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / time / manifests / init.pp
index 9f1ec60..e89210b 100644 (file)
@@ -1,7 +1,7 @@
 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') {
@@ -9,6 +9,5 @@ class time {
                include systemdtimesyncd
        } else {
                include ntp
-               include ntpdate
        }
 }