From 19a6d01b546db0438c8ee288820d988946507e18 Mon Sep 17 00:00:00 2001 From: matthew-parlette Date: Thu, 5 Nov 2015 17:08:22 -0500 Subject: [PATCH] Fix protocol output line. Fixes #46 --- bind/files/debian/default | 2 +- bind/files/redhat/default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bind/files/debian/default b/bind/files/debian/default index f840308..b1071eb 100644 --- a/bind/files/debian/default +++ b/bind/files/debian/default @@ -1,7 +1,7 @@ {% set protocol = salt['pillar.get']('bind:config:protocol', False) -%} {% set param = ['-u bind'] -%} {% if protocol -%} - {%- param.append('-' + protocol|string) -%} + {{ param.append('-' + protocol|string) }} {% endif -%} # run resolvconf? RESOLVCONF=no diff --git a/bind/files/redhat/default b/bind/files/redhat/default index 43f16e3..40c7438 100644 --- a/bind/files/redhat/default +++ b/bind/files/redhat/default @@ -1,7 +1,7 @@ {% set protocol = salt['pillar.get']('bind:config:protocol', False) -%} {% set param = [] -%} {% if protocol -%} - {%- param.append('-' + protocol|string) -%} + {{ param.append('-' + protocol|string) }} {% endif -%} # ROOTDIR="/var/named/chroot" # KEYTAB_FILE="/dir/file"