projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop roles::debian_mirror::listen_addr for mirror-accumu
[mirror/dsa-puppet.git]
/
modules
/
time
/
manifests
/
init.pp
diff --git
a/modules/time/manifests/init.pp
b/modules/time/manifests/init.pp
index
808ef28
..
e89210b
100644
(file)
--- a/
modules/time/manifests/init.pp
+++ b/
modules/time/manifests/init.pp
@@
-1,15
+1,13
@@
class time {
include stdlib
$localtimeservers = hiera('local-timeservers', [])
class time {
include stdlib
$localtimeservers = hiera('local-timeservers', [])
- $physicalHost = $
site
::allnodeinfo[$fqdn]['physicalHost']
+ $physicalHost = $
deprecated
::allnodeinfo[$fqdn]['physicalHost']
- # if ($::kernel == 'Linux' and $::is_virtual and $::virtual == 'kvm'
#if ($systemd and $physicalHost and size($localtimeservers) > 0) {
#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 {
include ntp
include ntp::purge
include systemdtimesyncd
} else {
include ntp
- include ntpdate
}
}
}
}