From 86bf9c4bc0efb54a2d9beed89508a1e415f4fa98 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 26 Apr 2009 17:00:19 +0100 Subject: [PATCH] Begin cleaning up templates into the module namespace - I think we're going to be using a lot more templates in the future Signed-off-by: Stephen Gran --- modules/motd/manifests/init.pp | 2 +- {templates => modules/motd/templates}/motd.erb | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {templates => modules/motd/templates}/motd.erb (100%) diff --git a/modules/motd/manifests/init.pp b/modules/motd/manifests/init.pp index 9fedde75..fb2a20e9 100644 --- a/modules/motd/manifests/init.pp +++ b/modules/motd/manifests/init.pp @@ -1,7 +1,7 @@ class motd { file { "/etc/motd.tail": notify => Exec["updatemotd"], - content => template("motd.erb") ; + content => template("motd/motd.erb") ; } exec { "updatemotd": command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd", diff --git a/templates/motd.erb b/modules/motd/templates/motd.erb similarity index 100% rename from templates/motd.erb rename to modules/motd/templates/motd.erb -- 2.39.2