From f828466f0f4df0242660da74731c94f3d79e554b Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 23 Apr 2009 00:20:47 +0100 Subject: [PATCH] Maybe it needs a print statement to end up on stdout? Signed-off-by: Stephen Gran --- templates/motd.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/motd.erb b/templates/motd.erb index 01556838f..20b89a807 100644 --- a/templates/motd.erb +++ b/templates/motd.erb @@ -3,6 +3,6 @@ is monitored and will be used as evidence for prosecutions. <% if File.exists?("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail") -%> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -<% File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%> +<% print File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <% end -%> -- 2.20.1