]> gitweb.fluxo.info Git - puppet-bind.git/commitdiff
Do not redefine view config file
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 19:42:08 +0000 (16:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 May 2013 19:42:08 +0000 (16:42 -0300)
manifests/zone.pp

index db792aeac3e2c7a7bd8cd01ec1811569b5d8b16e..52a2e5f3e1695b655a4718863d88c069dbb3dbc7 100644 (file)
@@ -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,