summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/zone.pp11
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,