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:
71a8d52
)
rng-tools: another try to fix it
author
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 9 Jan 2016 14:19:49 +0000
(15:19 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 9 Jan 2016 14:19:49 +0000
(15:19 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
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
795bb1a
..
9c34295
100644
(file)
--- a/
modules/rng-tools/manifests/init.pp
+++ b/
modules/rng-tools/manifests/init.pp
@@
-1,5
+1,5
@@
class rng-tools {
- if
FileTest.exist?("/dev/hwrng
") {
+ if
inline_template("<% if File.exist?('/dev/hwrng') -%>true<% end -%>
") {
package { 'rng-tools':
ensure => installed
}