From: Peter Palfrader Date: Wed, 30 Nov 2011 10:25:34 +0000 (+0100) Subject: template within template? better not X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=87df4a00d449682730d9f30ed89452564dd59a24;p=mirror%2Fdsa-puppet.git template within template? better not --- 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") %>