From: Stephen Gran Date: Wed, 22 Apr 2009 23:20:47 +0000 (+0100) Subject: Maybe it needs a print statement to end up on stdout? X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f828466f0f4df0242660da74731c94f3d79e554b;p=mirror%2Fdsa-puppet.git Maybe it needs a print statement to end up on stdout? Signed-off-by: Stephen Gran --- 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 -%>