From: Stephen Gran Date: Sun, 26 Apr 2009 15:07:34 +0000 (+0100) Subject: Another try X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=2d587cc2b86996ebe12eb76b1463512374ce9c7d;p=mirror%2Fdsa-puppet.git Another try Signed-off-by: Stephen Gran --- diff --git a/manifests/site.pp b/manifests/site.pp index 0af9a890a..5fb46eaf5 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -36,7 +36,7 @@ node default { case $hostname { spohr: { include nagios::server - include motd-new + include motd::new } default: { include nagios::client diff --git a/modules/motd/manifests/new.pp b/modules/motd/manifests/new.pp new file mode 100644 index 000000000..45d06f7e1 --- /dev/null +++ b/modules/motd/manifests/new.pp @@ -0,0 +1,6 @@ +class motdnew inherits motd { + file { "/etc/motd.tail": + notify => Exec["updatemotd"], + content => template("motd-new.erb") ; + } +}