From 87df4a00d449682730d9f30ed89452564dd59a24 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 30 Nov 2011 11:25:34 +0100 Subject: [PATCH] template within template? better not --- modules/unbound/templates/unbound.conf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/unbound/templates/unbound.conf.erb b/modules/unbound/templates/unbound.conf.erb index 2f29ef95f..9a2c83735 100644 --- a/modules/unbound/templates/unbound.conf.erb +++ b/modules/unbound/templates/unbound.conf.erb @@ -62,9 +62,9 @@ server: end - <% if hostname == "zappa" -%> - edns-buffer-size: 512 - <% end -%> + if hostname == "zappa" + out << "edns-buffer-size: 512" + end out.join("\n") %> -- 2.20.1