diff --git a/manifests/init.pp b/manifests/init.pp index 6257df6..c8249e3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,6 +2,7 @@ class bind ( $confdir = undef, + $namedonf = undef, $cachedir = undef, $forwarders = undef, $dnssec = undef, @@ -59,7 +60,7 @@ class bind ( recurse => true, } - file { "${confdir}/named.conf": + file { "${namedconf}": content => template('bind/named.conf.erb'), }