aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-10-27 15:11:13 +0000
committerMichael Scherer <misc@mageia.org>2010-10-27 15:11:13 +0000
commitfae0151252aa536e1e298d5906da75c7f91150d0 (patch)
treea338032d15173bd7ceb4a81c9e151b8b6483d8d6 /modules/bind
parent0b1f1bd1cbec6b06df4492f8717c2e545849d95e (diff)
downloadpuppet-fae0151252aa536e1e298d5906da75c7f91150d0.tar
puppet-fae0151252aa536e1e298d5906da75c7f91150d0.tar.gz
puppet-fae0151252aa536e1e298d5906da75c7f91150d0.tar.bz2
puppet-fae0151252aa536e1e298d5906da75c7f91150d0.tar.xz
puppet-fae0151252aa536e1e298d5906da75c7f91150d0.zip
- config file of bind need to be inside the chroot, not outside
Diffstat (limited to 'modules/bind')
-rw-r--r--modules/bind/manifests/init.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/bind/manifests/init.pp b/modules/bind/manifests/init.pp
index 20ab7b1c..3f61a451 100644
--- a/modules/bind/manifests/init.pp
+++ b/modules/bind/manifests/init.pp
@@ -9,9 +9,17 @@ class bind {
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,