]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Lets not blow things up for everybody
authorStephen Gran <steve@lobefin.net>
Sun, 26 Apr 2009 15:12:07 +0000 (16:12 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 26 Apr 2009 15:12:07 +0000 (16:12 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
manifests/site.pp
modules/motd/manifests/new.pp

index d8d74907a10d2a3680a478e613ec0a698de8670a..5fb46eaf50bfa4c5396e002e8f74611954629c57 100644 (file)
@@ -21,8 +21,6 @@ node default {
     include samhain
 
     $nodeinfo = nodeinfo($fqdn, "/home/sgran/local.yaml")
-    notice($nodeinfo.class)
-    notice($nodeinfo)
 
     case $smartarraycontroller {
         "true":    { include debian-proliant }
index dbbcb278307512c2c4a1944007a8143aa9f9b47b..f0ae9757dd160d487d331b6c65cb1f30176b79c2 100644 (file)
@@ -1,4 +1,8 @@
 class motd::new inherits motd {
+        $str = $nodeinfo.class
+        notice($str)
+        notice($nodeinfo)
+
        file { "/etc/motd.tail":
                 notify  => Exec["updatemotd"],
                 content => template("motd-new.erb") ;