Skip to content

Commit 03ffb5e

Browse files
committed
unhardcode the path of the named local file in /etc/named.conf
1 parent be3800d commit 03ffb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/named.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include "<%=scope.lookupvar("bind::params::config_base_dir")%>/acls.conf";
22
include "<%=scope.lookupvar("bind::params::config_base_dir")%>/named.conf.options";
3-
include "<%=scope.lookupvar("bind::params::config_base_dir")%>/named.conf.local";
3+
include "<%=scope.lookupvar("bind::params::config_base_dir")%>/<%=scope.lookupvar("bind::params::named_local_name")%>";

0 commit comments

Comments
 (0)