rng-tools: another try to fix it
[mirror/dsa-puppet.git] / modules / rng-tools / manifests / init.pp
index 795bb1a..9c34295 100644 (file)
@@ -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
                }