From d01180cde97856d361c3bc731185d592e7645d83 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 29 Jun 2009 23:19:02 +0100 Subject: [PATCH] Move /etc/hosts template to hosts module Signed-off-by: Stephen Gran --- modules/hosts/manifests/init.pp | 2 +- {templates => modules/hosts/templates}/etc-hosts.erb | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {templates => modules/hosts/templates}/etc-hosts.erb (100%) diff --git a/modules/hosts/manifests/init.pp b/modules/hosts/manifests/init.pp index 468107dc0..279da0f48 100644 --- a/modules/hosts/manifests/init.pp +++ b/modules/hosts/manifests/init.pp @@ -1,7 +1,7 @@ class hosts { file { - "/etc/hosts": content => template("etc-hosts.erb"); + "/etc/hosts": content => template("hosts/etc-hosts.erb"); } } diff --git a/templates/etc-hosts.erb b/modules/hosts/templates/etc-hosts.erb similarity index 100% rename from templates/etc-hosts.erb rename to modules/hosts/templates/etc-hosts.erb -- 2.20.1