Put the yaml in the tree and call the right file
[mirror/dsa-puppet.git] / templates / motd.erb
index 27d59d8..ff2223c 100644 (file)
@@ -1,3 +1,4 @@
+
 This device is for authorized users only.  All traffic on this device
 is monitored and will be used as evidence for prosecutions.
 
@@ -12,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 -%>