From: Stephen Gran Date: Sun, 7 Jun 2009 17:44:10 +0000 (+0100) Subject: Let's try a symlink X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=4a7dded7abc6da1697eb759aa8ee7a0d289f02f5;p=mirror%2Fdsa-puppet.git Let's try a symlink Signed-off-by: Stephen Gran --- diff --git a/modules/motd/manifests/init.pp b/modules/motd/manifests/init.pp index fb2a20e94..a8d35a550 100644 --- a/modules/motd/manifests/init.pp +++ b/modules/motd/manifests/init.pp @@ -2,6 +2,8 @@ class motd { file { "/etc/motd.tail": notify => Exec["updatemotd"], content => template("motd/motd.erb") ; + "/etc/motd": + ensure => "/var/run/motd"; } exec { "updatemotd": command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",