Add acls
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
define bind::acl (
|
||||||
|
$addresses,
|
||||||
|
) {
|
||||||
|
|
||||||
|
concat::fragment { "bind-acl-${name}":
|
||||||
|
order => '10',
|
||||||
|
target => "${bind::params::confdir}/acls.conf",
|
||||||
|
content => template('bind/acl.erb'),
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
acl <%= name %> {
|
||||||
|
<%- addresses.each |address| do %>
|
||||||
|
<%= address %>;
|
||||||
|
<%- end %>
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user