From 05b1d5a357bb35b5c9819e68a163e71bf1897de0 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sat, 9 Jan 2016 15:19:49 +0100 Subject: [PATCH] rng-tools: another try to fix it Signed-off-by: Aurelien Jarno --- modules/rng-tools/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rng-tools/manifests/init.pp b/modules/rng-tools/manifests/init.pp index 795bb1a35..9c34295b9 100644 --- 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 } -- 2.20.1