OK, it's picky if you don't give it a path
authorStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:15:12 +0000 (00:15 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 22 Apr 2009 23:15:12 +0000 (00:15 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/motd/manifests/init.pp

index 7c1f74e..c5c8239 100644 (file)
@@ -4,6 +4,6 @@ class motd {
                 content => template("motd.erb") ;
        }
         exec { "updatemotd":
-                command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd"
+                command => "/bin/uname -snrvm > /var/run/motd && /bin/cat /etc/motd.tail >> /var/run/motd"
         }
 }