From: Stephen Gran Date: Sun, 21 Feb 2010 13:26:05 +0000 (+0000) Subject: test template X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=95fe5adaaca52ca56e246c545169ab68fd62d8e4;p=dsa-puppet.git test template Signed-off-by: Stephen Gran --- diff --git a/modules/named/manifests/geodns.pp b/modules/named/manifests/geodns.pp index 0754b323..55039191 100644 --- a/modules/named/manifests/geodns.pp +++ b/modules/named/manifests/geodns.pp @@ -4,6 +4,9 @@ class named::geodns inherits named { } file { + "/tmp/test": + content => template("named/class-test.erb") + ; "/etc/apt/sources.list.d/geoip.list": content => template("debian-org/etc/apt/sources.list.d/geoip.list.erb"), notify => Exec["apt-get update"], diff --git a/modules/named/templates/class-test.erb b/modules/named/templates/class-test.erb new file mode 100644 index 00000000..ec52f968 --- /dev/null +++ b/modules/named/templates/class-test.erb @@ -0,0 +1,4 @@ +<% classes.each do |klass| -%> +The class <%= klass %> is defined +<% end -%> +