projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b40c40
)
Use new virt factor in time manifest
author
Peter Palfrader
<peter@palfrader.org>
Thu, 17 Aug 2017 09:23:08 +0000
(11:23 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 17 Aug 2017 09:23:08 +0000
(11:23 +0200)
modules/time/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/time/manifests/init.pp
b/modules/time/manifests/init.pp
index
1900443
..
808ef28
100644
(file)
--- a/
modules/time/manifests/init.pp
+++ b/
modules/time/manifests/init.pp
@@
-4,8
+4,8
@@
class time {
$physicalHost = $site::allnodeinfo[$fqdn]['physicalHost']
# if ($::kernel == 'Linux' and $::is_virtual and $::virtual == 'kvm'
- #
our is_virtual and virtual facts are broken
- 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'
) {
include ntp::purge
include systemdtimesyncd
} else {