diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 17:56:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 17:56:38 -0300 |
commit | 9a83a2d427136ffaab3260712181cc6e932673dd (patch) | |
tree | 4a21cc69ea491280f5b4791e28e9016d7b1c08b5 | |
parent | 6b35c5e2834bb5582656f12f26ce3955d2985f28 (diff) | |
download | puppet-bind-9a83a2d427136ffaab3260712181cc6e932673dd.tar.gz puppet-bind-9a83a2d427136ffaab3260712181cc6e932673dd.tar.bz2 |
Adding order parameter to bind::viewview
-rw-r--r-- | manifests/view.pp | 3 |
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'], } |