projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rsync-ssh-wrap: force the permissions of uploaded files
[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
..
9f1ec60
100644
(file)
--- 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']
$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 $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::purge
include systemdtimesyncd
} else {