Put the yaml in the tree and call the right file
[mirror/dsa-puppet.git] / templates / motd.erb
index 6840777..ff2223c 100644 (file)
@@ -13,8 +13,11 @@ when you can login" section.
 
 <% if File.exists?("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail") -%>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 <% f = File.open("/etc/puppet/modules/motd/files/" + fqdn + "/motd.tail") -%>
 <%= f.read -%>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 <% f.close -%>
 <% end -%>