From 1fb38b2961e3c778be3c09de269b2f843ec59f30 Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Sat, 22 May 2010 11:14:28 +0100 Subject: improve documentation --- README.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.markdown') diff --git a/README.markdown b/README.markdown index 68bc757..62b9209 100644 --- a/README.markdown +++ b/README.markdown @@ -23,6 +23,8 @@ Puppet modules on this server: -- MySQL +Local sysadmins can also append to the file by just editing /etc/motd.local +their changes will be incorporated into the puppet managed motd.
 # class to setup basic motd, include on all nodes
@@ -37,6 +39,13 @@ class motd {
       content => "\nPuppet modules on this server:\n\n",
       order   => 1,
    }
+
+   # local users on the machine can append to motd by just creating
+   # /etc/motd.local
+   concat::fragment{"motd_local":
+      ensure  => "/etc/motd.local",
+      order   => 15
+   }
 }
 
 # used by other modules to register themselves in the motd
-- 
cgit v1.2.3