summaryrefslogtreecommitdiff
path: root/manifests/view.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/view.pp')
-rw-r--r--manifests/view.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/view.pp b/manifests/view.pp
index ed68a02..a376e06 100644
--- a/manifests/view.pp
+++ b/manifests/view.pp
@@ -5,17 +5,20 @@
# Arguments:
# *$match-clients*: Clients to be matched.
# *$recursion*: Whether it's a recursive view.
+# *$order*: View order at named.conf.local.
#
define bind::view (
$ensure = present,
$match_clients = 'any',
$recursion = 'yes',
+ $order = 10,
) {
concat::fragment { "named.local.view.${name}":
ensure => $ensure,
target => '/etc/bind/named.conf.local',
content => "include \"/etc/bind/views/${name}.conf\";\n",
+ order => $order,
notify => Service['bind9'],
require => Package['bind9'],
}