diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 62b9209..3f32509 100644 --- a/README.markdown +++ b/README.markdown @@ -29,20 +29,25 @@ their changes will be incorporated into the puppet managed motd. <pre> # class to setup basic motd, include on all nodes class motd { - concat{"/etc/motd": + include concat::setup + $motd = "/etc/motd" + + concat{$motd, owner => root, group => root, mode => 644 } concat::fragment{"motd_header": + target => $motd, content => "\nPuppet modules on this server:\n\n", - order => 1, + order => 01, } # local users on the machine can append to motd by just creating # /etc/motd.local concat::fragment{"motd_local": + target => $motd, ensure => "/etc/motd.local", order => 15 } |