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:
d032f1c
)
Fix KVM detection for rng-tools
author
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 3 Feb 2019 09:59:39 +0000
(10:59 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 3 Feb 2019 09:59:39 +0000
(10:59 +0100)
modules/rng_tools/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/rng_tools/manifests/init.pp
b/modules/rng_tools/manifests/init.pp
index
d0b4e7f
..
9981fe1
100644
(file)
--- a/
modules/rng_tools/manifests/init.pp
+++ b/
modules/rng_tools/manifests/init.pp
@@
-1,5
+1,5
@@
class rng_tools {
- if $has_dev_hwrng and !($::
kvmdomain
and (versioncmp($::lsbmajdistrelease, '9') >= 0)) {
+ if $has_dev_hwrng and !($::
is_virtual and $::virtual == 'kvm'
and (versioncmp($::lsbmajdistrelease, '9') >= 0)) {
package { 'rng-tools':
ensure => installed
}