From f9fe4478c7d8d79bd8c2bab9051bef686bde73c1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 9 Mar 2016 16:31:45 +0100 Subject: [PATCH] Adding state for /etc/bind/named.conf.local --- bind/conf.sls | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bind/conf.sls b/bind/conf.sls index 8fa5dab..7424403 100644 --- a/bind/conf.sls +++ b/bind/conf.sls @@ -25,5 +25,18 @@ bind-conf_log: - file: bind-etc-dir - file: /var/log/bind +bind-conf_local: + file.managed: + - name: {{ etc_dir }}/named.conf.local + - source: salt://bind/files/named.conf.local + - user: root + - group: root + - mode: 644 + - template: jinja + - backup: minion + - require: + - file: bind-etc-dir + - file: bind-conf_zones.rfc1918 + # vim: filetype=sls -- 2.39.5