From: Stephen Gran Date: Sun, 26 Apr 2009 15:12:07 +0000 (+0100) Subject: Lets not blow things up for everybody X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=00cd31ec62c1c1ad43adf0ec7e18a71327c3fc58;p=mirror%2Fdsa-puppet.git Lets not blow things up for everybody Signed-off-by: Stephen Gran --- diff --git a/manifests/site.pp b/manifests/site.pp index d8d74907a..5fb46eaf5 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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 } diff --git a/modules/motd/manifests/new.pp b/modules/motd/manifests/new.pp index dbbcb2783..f0ae9757d 100644 --- a/modules/motd/manifests/new.pp +++ b/modules/motd/manifests/new.pp @@ -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") ;