Revision
40
Author
misc
Date
2010-10-27 17:11:13 +0200 (Wed, 27 Oct 2010)

Log Message

- config file of bind need to be inside the chroot, not outside

Modified Paths

Diff

Modified: puppet/modules/bind/manifests/init.pp (39 => 40)


--- puppet/modules/bind/manifests/init.pp	2010-10-27 13:19:20 UTC (rev 39)
+++ puppet/modules/bind/manifests/init.pp	2010-10-27 15:11:13 UTC (rev 40)
@@ -9,9 +9,17 @@
             path => "/etc/init.d/named",
             subscribe => [ Package["bind"]]
         }
+
+        file { '/etc/named.conf':
+            ensure => "/var/lib/named/etc/named.conf",
+            owner => root,
+            group => root,
+            mode => 644
+        } 
     }
 
-    file { '/etc/named.conf':
+
+    file { '/var/lib/named/etc/named.conf':
         ensure => present,
         owner => root,
         group => root,