From df35bbc39e29e0127e7320afdbe3f1d1267b3e9a Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 23 Apr 2009 00:27:41 +0100 Subject: [PATCH] aha, silly templating system 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 20b89a807..1881c41b3 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") -%> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -<% print File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%> +<%= File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <% end -%> -- 2.20.1