]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Maybe it needs a print statement to end up on stdout?
authorStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:20:47 +0000 (00:20 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:20:47 +0000 (00:20 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/motd.erb

index 01556838f3a14bd01d7b44284c31729bdafbc356..20b89a80736a2cf088495b4d848d31131c3e21f7 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") -%>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-<% File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%>
+<% print File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail").read -%>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 <% end -%>