From 372f3fca71969289266fbe7ea43330ce8f42084f Mon Sep 17 00:00:00 2001 From: Tai Kyon Date: Wed, 25 Mar 2015 13:38:10 -0400 Subject: [PATCH 1/3] add missing ; --- templates/named.conf.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/named.conf.erb b/templates/named.conf.erb index d0fe185a7..7002a5730 100644 --- a/templates/named.conf.erb +++ b/templates/named.conf.erb @@ -84,12 +84,12 @@ options { <% if !@extra_options.empty? -%> <% @extra_options.sort_by {|key, value| key}.each do |key,value| -%> - <%# Deal with options that don't play well as array elements %> - <% if key.eql?('also-notify') -%> - <%= key %> { <%= value.join('; ') %> } - <% else -%> - <%= key %> <%= value %>; - <% end -%> + <%# Deal with options that don't play well as array elements %> + <% if key.eql?('also-notify') -%> + <%= key %> { <%= value.join('; ') %>; }; + <% else -%> + <%= key %> <%= value %>; + <% end -%> <% end -%> <% end -%> From faeec5fe59b5d543ae87b3920053c7aa477a5de3 Mon Sep 17 00:00:00 2001 From: Tai Kyon Date: Wed, 25 Mar 2015 13:49:40 -0400 Subject: [PATCH 2/3] test --- templates/named.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/named.conf.erb b/templates/named.conf.erb index 7002a5730..109cf48b7 100644 --- a/templates/named.conf.erb +++ b/templates/named.conf.erb @@ -86,7 +86,7 @@ options { <% @extra_options.sort_by {|key, value| key}.each do |key,value| -%> <%# Deal with options that don't play well as array elements %> <% if key.eql?('also-notify') -%> - <%= key %> { <%= value.join('; ') %>; }; + <%= key %> { <%= value.join(';; ') %>; }; <% else -%> <%= key %> <%= value %>; <% end -%> From da97f8fc252606b81cd8f16de1fbbcd0512a6886 Mon Sep 17 00:00:00 2001 From: Tai Kyon Date: Wed, 25 Mar 2015 14:00:40 -0400 Subject: [PATCH 3/3] reverted --- templates/named.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/named.conf.erb b/templates/named.conf.erb index 109cf48b7..7002a5730 100644 --- a/templates/named.conf.erb +++ b/templates/named.conf.erb @@ -86,7 +86,7 @@ options { <% @extra_options.sort_by {|key, value| key}.each do |key,value| -%> <%# Deal with options that don't play well as array elements %> <% if key.eql?('also-notify') -%> - <%= key %> { <%= value.join(';; ') %>; }; + <%= key %> { <%= value.join('; ') %>; }; <% else -%> <%= key %> <%= value %>; <% end -%>