projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: reload journal service upon refresh
[mirror/dsa-puppet.git]
/
modules
/
rng_tools
/
manifests
/
init.pp
diff --git
a/modules/rng_tools/manifests/init.pp
b/modules/rng_tools/manifests/init.pp
index
c8bb9ab
..
d0b4e7f
100644
(file)
--- a/
modules/rng_tools/manifests/init.pp
+++ b/
modules/rng_tools/manifests/init.pp
@@
-1,5
+1,5
@@
class rng_tools {
class rng_tools {
- if $has_dev_hwrng {
+ if $has_dev_hwrng
and !($::kvmdomain and (versioncmp($::lsbmajdistrelease, '9') >= 0))
{
package { 'rng-tools':
ensure => installed
}
package { 'rng-tools':
ensure => installed
}
@@
-7,5
+7,9
@@
class rng_tools {
ensure => running,
require => Package['rng-tools']
}
ensure => running,
require => Package['rng-tools']
}
+ } else {
+ package { 'rng-tools':
+ ensure => purged
+ }
}
}
}
}