From: Stephen Gran Date: Wed, 22 Apr 2009 23:27:41 +0000 (+0100) Subject: aha, silly templating system X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=df35bbc39e29e0127e7320afdbe3f1d1267b3e9a;p=mirror%2Fdsa-puppet.git aha, silly templating system Signed-off-by: Stephen Gran --- 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 -%>