summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xreplay13
-rw-r--r--roles/dnsserver/templates/named.conf.j22
2 files changed, 11 insertions, 4 deletions
diff --git a/replay b/replay
index 617c054..92070cf 100755
--- a/replay
+++ b/replay
@@ -29,7 +29,7 @@ while [[ $# -gt 0 ]]
do
case "$1" in
-d|--debug)
- COUNTLIMIT=1
+ COUNTLIMIT=2
shift
;;
*)
@@ -44,7 +44,7 @@ done
REPLAY=true
-COUNT=0
+COUNT=1
pushd $WORKDIR >/dev/null
@@ -59,7 +59,14 @@ then
fi
# need cleanup before starting loop
-rm -f $SOURCES/site.retry
+if [[ -f $SOURCES/site.retry ]]
+then
+ rm -f $SOURCES/site.retry
+ echo -e "$ERROR retry file found, cleaning up..."
+else
+ echo -e "$OK retry file not found, starting loop..."
+fi
+
while [[ $REPLAY == "true" ]] && [[ $COUNT -lt $COUNTLIMIT ]]
do
diff --git a/roles/dnsserver/templates/named.conf.j2 b/roles/dnsserver/templates/named.conf.j2
index daeffe3..77f9009 100644
--- a/roles/dnsserver/templates/named.conf.j2
+++ b/roles/dnsserver/templates/named.conf.j2
@@ -15,7 +15,7 @@ acl "whitelist-recursion" {
{% if is_dnsmaster is defined %}
acl "transferlist" {
{% for item in slavelist %}
- {{ '{{' }} {{ item }} {{ '}}' }};
+ {{ item }};
{% endfor %}
};
{% endif %}