From 72c65db5bc7fc5f6e72912a31ddaf9f00ad55cd0 Mon Sep 17 00:00:00 2001 From: Malte Starostik Date: Wed, 14 Feb 2018 13:07:26 +0100 Subject: [PATCH] Add support for custom includes on RedHat Now in named.conf instead of named.conf.local --- bind/files/redhat/named.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bind/files/redhat/named.conf b/bind/files/redhat/named.conf index 11a10da..681410d 100644 --- a/bind/files/redhat/named.conf +++ b/bind/files/redhat/named.conf @@ -80,3 +80,6 @@ zone "." IN { include "/etc/named.rfc1912.zones"; include "{{ map.local_config }}"; include "/etc/named.root.key"; +{%- for incl in salt['pillar.get']('bind:config:includes', []) %} +include "{{ incl }}"; +{% endfor %}