summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-26 16:42:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-26 16:42:08 -0300
commit069c31fc96677de217fee3344f2ddf9a23624a0a (patch)
tree6d94a910bbb694fcc098b7b2f83beedefb5b6b62 /manifests
parentf5d7d7a3a43e15cecb88c0e4eebc75019344e987 (diff)
downloadpuppet-bind-069c31fc96677de217fee3344f2ddf9a23624a0a.tar.gz
puppet-bind-069c31fc96677de217fee3344f2ddf9a23624a0a.tar.bz2
Do not redefine view config file
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,