]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Let's try a symlink
authorStephen Gran <steve@lobefin.net>
Sun, 7 Jun 2009 17:44:10 +0000 (18:44 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 7 Jun 2009 17:45:16 +0000 (18:45 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/motd/manifests/init.pp

index fb2a20e946800f45089aef1e619e5351e304fe2f..a8d35a550569e72453824e52caccaeba7b99997a 100644 (file)
@@ -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",