diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 16:42:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 16:42:08 -0300 |
commit | 069c31fc96677de217fee3344f2ddf9a23624a0a (patch) | |
tree | 6d94a910bbb694fcc098b7b2f83beedefb5b6b62 /manifests | |
parent | f5d7d7a3a43e15cecb88c0e4eebc75019344e987 (diff) | |
download | puppet-bind-069c31fc96677de217fee3344f2ddf9a23624a0a.tar.gz puppet-bind-069c31fc96677de217fee3344f2ddf9a23624a0a.tar.bz2 |
Do not redefine view config file
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/zone.pp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/zone.pp b/manifests/zone.pp index db792ae..52a2e5f 100644 --- a/manifests/zone.pp +++ b/manifests/zone.pp @@ -49,11 +49,14 @@ define bind::zone ( case $ensure { present: { - concat { $target: - owner => root, - group => root, - mode => '0644', + if $view == false { + concat { $target: + owner => root, + group => root, + mode => '0644', + } } + concat::fragment {"bind.zones.${name}": ensure => $ensure, target => $target, |