Merge pull request #22 from klti/pr-statistics

This commit is contained in:
Nate Riffe 2015-02-12 20:35:16 -06:00
commit 91799435ea
2 changed files with 13 additions and 6 deletions

View File

@ -1,12 +1,13 @@
# ex: syntax=puppet si ts=4 sw=4 et # ex: syntax=puppet si ts=4 sw=4 et
class bind ( class bind (
$confdir = undef, $confdir = undef,
$cachedir = undef, $cachedir = undef,
$forwarders = undef, $forwarders = undef,
$dnssec = undef, $dnssec = undef,
$version = undef, $version = undef,
$rndc = undef, $rndc = undef,
$statistics_port = undef,
) { ) {
include params include params

View File

@ -2,6 +2,12 @@
include "<%= @confdir %>/acls.conf"; include "<%= @confdir %>/acls.conf";
include "<%= @confdir %>/keys.conf"; include "<%= @confdir %>/keys.conf";
include "<%= @confdir %>/views.conf"; include "<%= @confdir %>/views.conf";
<%- if @statistics_port -%>
statistics-channels {
inet 127.0.0.1 port <%= @statistics_port %> allow { 127.0.0.1; };
};
<%- end -%>
options { options {
directory "<%= @cachedir %>"; directory "<%= @cachedir %>";