From 8972734ba0280c17078964f720036994b1dcf1f7 Mon Sep 17 00:00:00 2001 From: Hung Nguyen Viet Date: Wed, 25 Mar 2015 10:30:01 +0700 Subject: [PATCH] require ID, not file path --- bind/config.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind/config.sls b/bind/config.sls index 29f19db..486d313 100644 --- a/bind/config.sls +++ b/bind/config.sls @@ -130,7 +130,7 @@ zones-{{ file }}: - watch_in: - service: bind - require: - - file: {{ map.named_directory }} + - file: named_directory {% if args['dnssec'] is defined and args['dnssec'] -%} signed-{{ file }}: @@ -158,7 +158,7 @@ zones-{{ file }}: - watch_in: - service: bind - require: - - file: {{ map.named_directory }} + - file: named_directory {% if args['dnssec'] is defined and args['dnssec'] -%} signed-{{ file }}: