aha, silly templating system
authorStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:27:41 +0000 (00:27 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:27:41 +0000 (00:27 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/motd.erb

index 20b89a8..1881c41 100644 (file)
@@ -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 -%>