From 42a5e99f87c486be8ec154e9084200d969020adb Mon Sep 17 00:00:00 2001 From: Nate Riffe Date: Sat, 6 Oct 2012 16:40:59 -0500 Subject: [PATCH] Make manual configuration possible --- manifests/init.pp | 9 +++++++++ templates/named.conf.erb | 2 ++ 2 files changed, 11 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 603f321..38e334b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -59,6 +59,15 @@ class bind ( require => Package[$bind::params::bind_package], } + file { "${confdir}/named.conf.local": + ensure => present, + owner => 'root', + group => $bind::params::bind_group, + mode => '0644', + replace => false, + require => Package[$bind::params::bind_package], + } + concat { [ "${confdir}/acls.conf", "${confdir}/keys.conf", diff --git a/templates/named.conf.erb b/templates/named.conf.erb index 4dcf836..19aae15 100644 --- a/templates/named.conf.erb +++ b/templates/named.conf.erb @@ -21,3 +21,5 @@ options { version "<%= version %>"; <%- end -%> }; + +include "<%= confdir %>/named.conf.local";